static-nix-shell: remove unused extraMakeWrapperArgs argument
it wasn't even implemented right
This commit is contained in:
@@ -57,7 +57,6 @@ in rec {
|
|||||||
pkgExprs,
|
pkgExprs,
|
||||||
srcPath ? pname,
|
srcPath ? pname,
|
||||||
srcRoot ? null,
|
srcRoot ? null,
|
||||||
extraMakeWrapperArgs ? [],
|
|
||||||
...
|
...
|
||||||
}@attrs:
|
}@attrs:
|
||||||
let
|
let
|
||||||
@@ -150,10 +149,9 @@ in rec {
|
|||||||
# ensure that there weren't some trailing deps we *didn't* substitute
|
# ensure that there weren't some trailing deps we *didn't* substitute
|
||||||
grep '^# nix deps evaluated statically$' $out/bin/${srcPath} || die 'trailing characters in nix-shell directive for ${srcPath}'
|
grep '^# nix deps evaluated statically$' $out/bin/${srcPath} || die 'trailing characters in nix-shell directive for ${srcPath}'
|
||||||
|
|
||||||
if [[ ''${#makeWrapperArgs[@]} != 0 || ''${#extraMakeWrapperArgs[@]} ]]; then
|
if [[ ''${#makeWrapperArgs[@]} != 0 ]]; then
|
||||||
wrapProgram $out/bin/${srcPath} \
|
wrapProgram $out/bin/${srcPath} \
|
||||||
"''${makeWrapperArgs[@]}" \
|
"''${makeWrapperArgs[@]}"
|
||||||
"''${extraMakeWrapperArgs[@]}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
@@ -173,7 +171,6 @@ in rec {
|
|||||||
mainProgram = srcPath;
|
mainProgram = srcPath;
|
||||||
} // (attrs.meta or {});
|
} // (attrs.meta or {});
|
||||||
} // extraDerivArgs // (removeAttrs attrs [
|
} // extraDerivArgs // (removeAttrs attrs [
|
||||||
"extraMakeWrapperArgs"
|
|
||||||
"interpreter"
|
"interpreter"
|
||||||
"interpreterName"
|
"interpreterName"
|
||||||
"meta"
|
"meta"
|
||||||
|
Reference in New Issue
Block a user