nix-info: add BUILD_ID information

This commit is contained in:
1000101 2022-03-17 13:16:35 +01:00
parent 5855ff74f5
commit e97d588423

View file

@ -84,7 +84,7 @@ desc_host_os() {
(
# shellcheck disable=SC1091
. /etc/os-release
printf ", %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}"
printf ", %s, %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}" "${BUILD_ID:-nobuild}"
)
fi
}