nodejs: ensure that all scripts in nodejs have proper shebangs (#17594)
commitf17ff218fffed6da951161e17614cdef02efdfbe
authorRok Garbas <rok@garbas.si>
dateMon 8 Aug 2016, 22:14 (10 years ago)
parent75896a6
pkgs/development/web/nodejs/nodejs.nix+4
@@ -40,6 +40,10 @@ in stdenv.mkDerivation {
4040 sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
4141 '';
4242
43+ postInstall = ''
44+ PATH=$out/bin:$PATH patchShebangs $out
45+ '';
46+
4347 patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
4448
4549 buildInputs = extraBuildInputs