mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
release.nix: refactor with fileContents
This commit is contained in:
parent
e276842f6a
commit
1114ab41e6
@ -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}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user