move the codeName to /.codeName

Make the codeName globally accessible in the repo. The release is not
only for NixOS anymore.
This commit is contained in:
zimbatm
2018-10-16 11:11:28 +02:00
parent d2b5518e1e
commit b7a07313cc
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -98,6 +98,9 @@ rec {
# The current nixpkgs version number as string.
release = lib.strings.fileContents ../.version;
# Note: the first letter is bumped on every release. It's an animal.
codeName = lib.strings.fileContents ../.codeName;
# The current nixpkgs version suffix as string.
versionSuffix =
let suffixFile = ../.version-suffix;