diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-19 15:57:10 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-19 15:57:10 +0100 |
commit | c30b65df4b3763a23616d59ffea6c8674b9ab9b3 (patch) | |
tree | 7ebc330abb8371d59df542ffc53c153aa9d1f894 /release.nix | |
parent | e201da376e510ed96b3b40ac091423a1ea5b5dd4 (diff) | |
download | nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar.gz nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar.bz2 nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar.lz nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar.xz nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.tar.zst nixpkgs-c30b65df4b3763a23616d59ffea6c8674b9ab9b3.zip |
Set the versionSuffix on tarballs/channel properly
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release.nix b/release.nix index b32ce233ec0..bd740af1c42 100644 --- a/release.nix +++ b/release.nix @@ -86,7 +86,8 @@ let src = nixosSrc; - inherit officialRelease version versionSuffix; + inherit officialRelease version; + versionSuffix = lib.optionalString (!officialRelease) versionSuffix; distPhase = '' echo -n $VERSION_SUFFIX > .version-suffix @@ -111,7 +112,8 @@ let src = nixosSrc; - inherit officialRelease version versionSuffix; + inherit officialRelease version; + versionSuffix = lib.optionalString (!officialRelease) versionSuffix; buildInputs = [ nixUnstable ]; |