release.nix: refactor with fileContents
This commit is contained in:
parent
e276842f6a
commit
1114ab41e6
@ -7,7 +7,7 @@ with import ../lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = builtins.readFile ../.version;
|
version = fileContents ../.version;
|
||||||
versionSuffix =
|
versionSuffix =
|
||||||
(if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
|
(if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user