Author: raskin
Date: Fri Oct 29 19:18:13 2010
New Revision: 24534
URL: https://svn.nixos.org/websvn/nix/?rev=24534&sc=1

Log:
Fix includes

Modified:
   nixpkgs/trunk/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix

Modified: nixpkgs/trunk/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix      
Fri Oct 29 18:31:25 2010        (r24533)
+++ nixpkgs/trunk/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix      
Fri Oct 29 19:18:13 2010        (r24534)
@@ -22,5 +22,9 @@
       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";
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to