Unverified Commit a1f80c3a authored by Erick Cafferata's avatar Erick Cafferata Committed by GitHub

distro: speed up guix lookup (#1452)

parent c85509f8
......@@ -1031,7 +1031,7 @@ get_distro() {
elif type -p guix >/dev/null; then
case $distro_shorthand in
on|tiny) distro="Guix System" ;;
*) distro="Guix System $(guix system -V | awk 'NR==1{printf $5}')"
*) distro="Guix System $(guix -V | awk 'NR==1{printf $4}')"
esac
# Display whether using '-current' or '-release' on OpenBSD.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment