local/bin/homeinit: Fix manifest installation.

master
Pierre Neidhardt 2020-06-11 14:01:21 +02:00
parent c3cc13e905
commit f613bd1207
1 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,6 @@ guix_install_profile() {
local manifest
manifest=$HOME/.package-lists/guix-$i-manifest.scm
if [ -f "$manifest" ]; then
warning "Manifest $manifest not found."
else
if [ "$i" = "default" ]; then
~/.config/guix/current/bin/guix package --manifest="$manifest" --keep-failed --substitute-urls="$SUBSTITUTE_URLS"
. ~/.guix-profile/etc/profile
@ -232,6 +230,8 @@ guix_install_profile() {
. "$profile"/etc/profile
fi
fi
else
warning "Manifest '$manifest' not found."
fi
}