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

wip/yesman
Rok Garbas 8 years ago committed by GitHub
parent 75896a618c
commit f17ff218ff
  1. 4
      pkgs/development/web/nodejs/nodejs.nix

@ -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…
Cancel
Save