lix/default.nix
Eelco Dolstra 504563ea44 Fix build
2013-09-06 11:54:49 +02:00

11 lines
292 B
Nix

with import <nixpkgs> { };
runCommand "nix-repl"
{ buildInputs = [ readline nixUnstable boehmgc ]; }
''
mkdir -p $out/bin
g++ -O3 -Wall -o $out/bin/nix-repl ${./nix-repl.cc} \
-I${nixUnstable}/include/nix -L${nixUnstable}/lib/nix \
-lexpr -lmain -lreadline -lgc
''