mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
add gyp fix to node v4.x
This commit is contained in:
parent
08c081309b
commit
81710923bd
@ -43,6 +43,10 @@ in stdenv.mkDerivation {
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./pkg-libpath.patch ];
|
||||
|
||||
postFixup = ''
|
||||
sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' $out/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
|
||||
'';
|
||||
|
||||
buildInputs = [ python which zlib libuv openssl python ]
|
||||
++ optionals stdenv.isLinux [ utillinux http-parser ]
|
||||
++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];
|
||||
|
Loading…
Reference in New Issue
Block a user