* -pre' should be pre'.

svn path=/nixpkgs/trunk/; revision=13420
This commit is contained in:
Eelco Dolstra 2008-11-25 18:08:49 +00:00
parent fd6e8a0f26
commit a37251e2a5

View File

@ -12,7 +12,7 @@ let
versionSuffix =
if officialRelease
then ""
else if src ? rev then "-pre${toString src.rev}" else "";
else if src ? rev then "pre${toString src.rev}" else "";
in