nixpkgs-lint: patch shebang
This commit is contained in:
parent
93a707cfe2
commit
d6823f4211
@ -13,6 +13,9 @@ stdenv.mkDerivation {
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
cp ${./nixpkgs-lint.pl} $out/bin/nixpkgs-lint
|
||||
# make the built version hermetic
|
||||
substituteInPlace $out/bin/nixpkgs-lint \
|
||||
--replace-fail "#! /usr/bin/env nix-shell" "#! ${lib.getExe perl}"
|
||||
wrapProgram $out/bin/nixpkgs-lint --set PERL5LIB $PERL5LIB
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user