nodejs: ensure that all scripts in nodejs have proper shebangs (#17594)

This commit is contained in:
Rok Garbas 2016-08-08 22:14:01 +02:00 committed by GitHub
parent 75896a618c
commit f17ff218ff

View file

@ -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