1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

nixos/version: make versions in /etc/os-release less verbose

Fixes #127654; also see details in there.
This commit is contained in:
Pavol Rusnak 2021-07-29 16:12:23 +02:00 committed by Vladimír Čunát
parent 9978f777fc
commit d2e468a571
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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/"