diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24T15·46+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24T15·46+0200 |
commit | 2cf0e67761121a4ddceb69a932bc2e3c0cd6cb6c (patch) | |
tree | 6658e9afbe6f54a71407d23a44ea08060d8e0d69 /default.nix | |
parent | 66b2d18243d055bcbc6c3f7708960575d02db09c (diff) |
Handle non-numeric version strings
Fixes #2.
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 435c16c09157..e7cdc23580e4 100644 --- a/default.nix +++ b/default.nix @@ -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}\" '' |