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 ];
|
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 ]
|
buildInputs = [ python which zlib libuv openssl python ]
|
||||||
++ optionals stdenv.isLinux [ utillinux http-parser ]
|
++ optionals stdenv.isLinux [ utillinux http-parser ]
|
||||||
++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];
|
++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user