Skip to content

Commit

Permalink
Handle non-numeric version strings
Browse files Browse the repository at this point in the history
Fixes #2.
  • Loading branch information
edolstra committed Jul 24, 2014
1 parent 66b2d18 commit 2cf0e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 2cf0e67

Please sign in to comment.