about summary refs log tree commit diff
path: root/pkgs/top-level/make-tarball.nix
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-08-01 18:34:54 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-08-01 18:40:50 +0900
commit4c97e4fbffd5cba4fb1ae32172b730658972550a (patch)
tree1b1187739c319a5ed0da1f1b74353ef64e473264 /pkgs/top-level/make-tarball.nix
parentc7bd26e5376da23e94c49515f0bff60964de4433 (diff)
make tarball: refactor with fileContents
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r--pkgs/top-level/make-tarball.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix
index b664dceaa9540..2fe69390ec5ba 100644
--- a/pkgs/top-level/make-tarball.nix
+++ b/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 ];