nodejs: ensure that all scripts in nodejs have proper shebangs (#17594)
This commit is contained in:
parent
75896a618c
commit
f17ff218ff
@ -40,6 +40,10 @@ in stdenv.mkDerivation {
|
||||
sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
PATH=$out/bin:$PATH patchShebangs $out
|
||||
'';
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
|
||||
|
||||
buildInputs = extraBuildInputs
|
||||
|
Loading…
Reference in New Issue
Block a user