make tarball: refactor with fileContents

wip/yesman
Eric Sagnes 8 years ago
parent c7bd26e537
commit 4c97e4fbff
  1. 2
      pkgs/top-level/make-tarball.nix

@ -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…
Cancel
Save