diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-08-02 15:39:31 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 15:39:31 +0700 |
commit | 4ef4a1e62aa83b12aab6d0fbff8586f450584b48 (patch) | |
tree | 8639a93f5f75033932b8183c5afd31afe6d7a92a /nixos/modules | |
parent | 029fbe8219e16e54a4cdc58b918456b983d0ba69 (diff) | |
parent | d2e468a571a9abf275a07d530dbd2949d1a6d077 (diff) | |
download | nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar.gz nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar.bz2 nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar.lz nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar.xz nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.tar.zst nixpkgs-4ef4a1e62aa83b12aab6d0fbff8586f450584b48.zip |
Merge pull request #131967 from vcunat/p/etc_os-release
nixos/version: make versions in /etc/os-release less verbose
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/misc/version.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index a6fffb76f6e..8f246a9278b 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -103,9 +103,10 @@ in '' NAME=NixOS ID=nixos - VERSION="${cfg.version} (${cfg.codeName})" + VERSION="${cfg.release} (${cfg.codeName})" VERSION_CODENAME=${toLower cfg.codeName} - VERSION_ID="${cfg.version}" + VERSION_ID="${cfg.release}" + BUILD_ID="${cfg.version}" PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})" LOGO="nix-snowflake" HOME_URL="https://nixos.org/" |