Leverage lib.release

This commit is contained in:
Yegor Timoshenko 2018-06-11 01:50:06 +00:00 committed by GitHub
parent a26d9e3ba8
commit 5a232b0f5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ stdenvNoCC.mkDerivation {
impureEnvVars = impureEnvVars ++ netrcImpureEnvVars;
nixpkgsVersion = lib.fileContents ../../../.version;
nixpkgsVersion = lib.release;
# Doing the download on a remote machine just duplicates network
# traffic, so don't do that.