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