make tarball: refactor with fileContents
This commit is contained in:
parent
c7bd26e537
commit
4c97e4fbff
@ -15,7 +15,7 @@ releaseTools.sourceTarball rec {
|
||||
src = nixpkgs;
|
||||
|
||||
inherit officialRelease;
|
||||
version = builtins.readFile ../../.version;
|
||||
version = pkgs.lib.fileContents ../../.version;
|
||||
versionSuffix = "pre${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
|
||||
|
||||
buildInputs = [ nix.out jq ];
|
||||
|
Loading…
Reference in New Issue
Block a user