release.nix: refactor with fileContents

This commit is contained in:
Eric Sagnes
2016-08-01 18:35:26 +09:00
parent e276842f6a
commit 1114ab41e6
+1 -1
View File
@@ -7,7 +7,7 @@ with import ../lib;
let
version = builtins.readFile ../.version;
version = fileContents ../.version;
versionSuffix =
(if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";