local/bin/homeinit: Init Guix manifests.
parent
e77c06f53a
commit
5cec0ad8e1
|
@ -232,11 +232,18 @@ if inpath guix; then
|
|||
unset CURRENT_COMMIT
|
||||
fi
|
||||
|
||||
## TODO: The manifest will uninstall other unspecified packages. Is this
|
||||
## really what we want?
|
||||
# export GUIX_PACKAGE_PATH=$HOME/.guix-packages
|
||||
~/.config/guix/current/bin/guix package --manifest=$HOME/.package-lists/guix-manifest.scm --keep-failed
|
||||
~/.config/guix/current/bin/guix package --manifest=$HOME/.package-lists/guix-default-manifest.scm --keep-failed
|
||||
. ~/.guix-profile/etc/profile
|
||||
|
||||
for i in main emacs texlive; do
|
||||
profile=$HOME/.guix-extra-profiles/$i/$i
|
||||
mkdir -p $(dirname "$profile")
|
||||
~/.config/guix/current/bin/guix package --manifest=$HOME/.package-lists/guix-$i-manifest.scm --keep-failed --profile="$profile"
|
||||
if [ -f "$profile"/etc/profile ]; then
|
||||
. "$profile"/etc/profile
|
||||
fi
|
||||
unset profile
|
||||
done
|
||||
fi
|
||||
|
||||
section "Quicklisp"
|
||||
|
|
Loading…
Reference in New Issue