mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #131967 from vcunat/p/etc_os-release
nixos/version: make versions in /etc/os-release less verbose
This commit is contained in:
commit
4ef4a1e62a
1 changed files with 3 additions and 2 deletions
|
@ -103,9 +103,10 @@ in
|
||||||
''
|
''
|
||||||
NAME=NixOS
|
NAME=NixOS
|
||||||
ID=nixos
|
ID=nixos
|
||||||
VERSION="${cfg.version} (${cfg.codeName})"
|
VERSION="${cfg.release} (${cfg.codeName})"
|
||||||
VERSION_CODENAME=${toLower 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})"
|
PRETTY_NAME="NixOS ${cfg.release} (${cfg.codeName})"
|
||||||
LOGO="nix-snowflake"
|
LOGO="nix-snowflake"
|
||||||
HOME_URL="https://nixos.org/"
|
HOME_URL="https://nixos.org/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue