summaryrefslogtreecommitdiffstats
path: root/files/.bin/profile-add-all
blob: bca4178b15bd02207559e8a4421db6b96f8dc827 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
for i in $HOME/.config/guix/manifests/*; do
    echo $i
    MANIFEST_NAME=$(basename $i .scm)
    mkdir -p "$GUIX_EXTRA_PROFILES"/"$MANIFEST_NAME"
    guix package --manifest=$i --profile="$GUIX_EXTRA_PROFILES/$MANIFEST_NAME/$MANIFEST_NAME"
done