From b7a07313cc72219964b93e47c36fffeed314a351 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 11 Oct 2018 12:15:25 +0200 Subject: move the codeName to /.codeName Make the codeName globally accessible in the repo. The release is not only for NixOS anymore. --- lib/trivial.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/trivial.nix b/lib/trivial.nix index 938df6ced476..811c298d8620 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -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; -- cgit 1.4.1