local/bin/package-lister: List packages in ~/.guix-extra-profiles/.
parent
3cd0b9fcea
commit
dc93f6154e
|
@ -22,6 +22,13 @@ fi
|
|||
## Guix
|
||||
if command -v guix >/dev/null 2>&1; then
|
||||
guile --no-auto-compile -s ~/.config/guix/profile-to-manifest.scm ~/.guix-profile >"$PKG_ROOT/guix-manifest.scm"
|
||||
for i in ~/.guix-extra-profiles/*; do
|
||||
profile=$i/$(basename "$i")
|
||||
if [ -d "$profile" ]; then
|
||||
guile --no-auto-compile -s ~/.config/guix/profile-to-manifest.scm "$profile" >"$PKG_ROOT/guix-$(basename "$i")-manifest.scm"
|
||||
fi
|
||||
unset profile
|
||||
done
|
||||
fi
|
||||
|
||||
YELLOW='\033[0;33m\033[1m'
|
||||
|
|
Loading…
Reference in New Issue