Skip to content
Snippets Groups Projects
Commit 2cf0e677 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Handle non-numeric version strings

Fixes #2.
parent 66b2d182
No related branches found
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@ runCommand "nix-repl"
-o $out/bin/nix-repl ${./nix-repl.cc} \
-I${nix}/include/nix \
-lnixformat -lnixutil -lnixstore -lnixexpr -lnixmain -lreadline -lgc \
-DNIX_VERSION=${(builtins.parseDrvName nix.name).version}
-DNIX_VERSION=\"${(builtins.parseDrvName nix.name).version}\"
''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment