diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-10-29 19:18:13 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-10-29 19:18:13 +0000 |
commit | a7518923fe7657dd15db8249039771b7244c10fb (patch) | |
tree | 4dddd6cf076574f96d7f4fa25974c437f7f3c872 /pkgs/development/interpreters/spidermonkey | |
parent | e10f65d674cf8b5e2a26540792e9396b9b012ea3 (diff) |
Fix includes
svn path=/nixpkgs/trunk/; revision=24534
Diffstat (limited to 'pkgs/development/interpreters/spidermonkey')
-rw-r--r-- | pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix b/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix index b2811d0f6d3df..ecaed5077121e 100644 --- a/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix +++ b/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix @@ -22,5 +22,9 @@ stdenv.mkDerivation rec { sed -e 's/ -ltermcap/ -lncurses/' -i ${makefile} ''; + preConfigure = '' + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${nspr}/include/nspr" + ''; + makeFlags = "-f ${makefile} JS_DIST=\${out} BUILD_OPT=1 JS_READLINE=1 JS_THREADSAFE=1"; } |