vscode-utils.buildVscodeExtension: move unzip to nativeBuildInputs

This commit is contained in:
Nick Cao 2022-01-18 12:58:06 +08:00 committed by Jonathan Ringer
parent 7682f18720
commit 6dfff632df

View file

@ -16,7 +16,7 @@ let
'',
dontPatchELF ? true,
dontStrip ? true,
buildInputs ? [],
nativeBuildInputs ? [],
...
}:
stdenv.mkDerivation ((removeAttrs a [ "vscodeExtUniqueId" ]) // {
@ -28,7 +28,7 @@ let
installPrefix = "share/vscode/extensions/${vscodeExtUniqueId}";
buildInputs = [ unzip ] ++ buildInputs;
nativeBuildInputs = [ unzip ] ++ nativeBuildInputs;
installPhase = ''