aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-06 21:00:36 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-06 21:00:36 +0200
commitc6f2b89c0e3091e5020983c9a02f36b9c33c3f81 (patch)
tree95309c4e180929a45d878e39bf03a6c93f817756 /default.nix
parent0abdf4beaaa64c01ed3cfb4cc5fd78997116fac8 (diff)
Restore affinity
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 635ead71e..eae1d56d0 100644
--- a/default.nix
+++ b/default.nix
@@ -4,7 +4,8 @@ runCommand "nix-repl"
{ buildInputs = [ readline nixUnstable boehmgc ]; }
''
mkdir -p $out/bin
- g++ -O3 -Wall -o $out/bin/nix-repl ${./nix-repl.cc} \
+ g++ -O3 -Wall -std=c++0x \
+ -o $out/bin/nix-repl ${./nix-repl.cc} \
-I${nixUnstable}/include/nix -L${nixUnstable}/lib/nix \
-lexpr -lmain -lreadline -lgc
''