forked from mirrors/nixpkgs
nodejs-5: fix on darwin
Turns out the darwin-flavored patches aren't needed anymore. Fixes #12305
This commit is contained in:
parent
9d9cb9f087
commit
5cb1e43fd6
|
@ -38,11 +38,8 @@ in stdenv.mkDerivation {
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./pkg-libpath.patch ];
|
|
||||||
|
|
||||||
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…
Reference in a new issue