Added support for GuixSD

This commit is contained in:
Muhammad Herdiansyah 2016-08-27 15:42:56 +07:00
parent f7353a6b64
commit 06a3f809cc
2 changed files with 16 additions and 1 deletions

12
ascii/distro/guixsd Normal file
View File

@ -0,0 +1,12 @@
"\
${c1} .. \`.
\`--..\`\`\`..\` \`..\`\`\`..--\`
.-:///-:::. \`-:::///:-.
\`\`\`\`.:::\` \`:::.\`\`\`\`
-//:\` -::-
://: -::-
\`///- .:::\`
-+++-:::.
:+/:::-
\`-....\`
"

View File

@ -350,6 +350,9 @@ getpackages() {
type -p nix-env >/dev/null 2>&1 && \ type -p nix-env >/dev/null 2>&1 && \
packages="$((packages+=$(ls -d -1 /nix/store/*/ | wc -l)))" packages="$((packages+=$(ls -d -1 /nix/store/*/ | wc -l)))"
type -p guix >/dev/null 2>&1 && \
packages="$((packages+=$(ls -d -1 /gnu/store/*/ | wc -l)))"
type -p apk >/dev/null 2>&1 && \ type -p apk >/dev/null 2>&1 && \
packages="$((packages+=$(apk info | wc -l)))" packages="$((packages+=$(apk info | wc -l)))"
@ -2416,7 +2419,7 @@ colors() {
setcolors 5 7 setcolors 5 7
;; ;;
"OpenBSD"*) "OpenBSD"* | "GuixSD"*)
setcolors 3 7 6 1 8 setcolors 3 7 6 1 8
;; ;;