Remove my darwin workarounds for node.js
This commit is contained in:
parent
eecb135cad
commit
03621d4cd8
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
${stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") "export PATH=/usr/bin:$PATH"}
|
|
||||||
mkdir build/gyp
|
mkdir build/gyp
|
||||||
ln -sv ${gyp}/bin/gyp build/gyp/gyp
|
ln -sv ${gyp}/bin/gyp build/gyp/gyp
|
||||||
'';
|
'';
|
||||||
|
@ -12,18 +12,15 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--openssl-includes=${openssl}/include"
|
"--openssl-includes=${openssl}/include"
|
||||||
"--openssl-libpath=${openssl}/lib"
|
"--openssl-libpath=${openssl}/lib"
|
||||||
#"--shared-v8"
|
"--shared-v8"
|
||||||
#"--shared-v8-includes=${v8}/includes"
|
"--shared-v8-includes=${v8}/includes"
|
||||||
#"--shared-v8-libpath=${v8}/lib"
|
"--shared-v8-libpath=${v8}/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
#patches = stdenv.lib.optional stdenv.isDarwin ./no-arch-flag.patch;
|
#patches = stdenv.lib.optional stdenv.isDarwin ./no-arch-flag.patch;
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed=$(type -p sed)
|
sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i tools/{*.py,waf-light,node-waf} configure
|
||||||
export PATH=/usr/bin:$PATH
|
|
||||||
|
|
||||||
$sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i tools/{*.py,waf-light,node-waf} configure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user