mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nodejs: ensure that all scripts in nodejs have proper shebangs (#17594)
This commit is contained in:
parent
75896a618c
commit
f17ff218ff
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue