diff options
| author | Freya Murphy <freya@freyacat.org> | 2024-12-12 19:15:02 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2024-12-12 19:15:02 -0500 |
| commit | 141e111a489ce91fac611537f6b718a57f556c4e (patch) | |
| tree | ca8078761af62502d053096a4f141abbee860323 /scripts/build-installer | |
| parent | build-installer script (diff) | |
| download | dotfiles-guix-141e111a489ce91fac611537f6b718a57f556c4e.tar.gz dotfiles-guix-141e111a489ce91fac611537f6b718a57f556c4e.tar.bz2 dotfiles-guix-141e111a489ce91fac611537f6b718a57f556c4e.zip | |
update repo path resolution in scripts
Diffstat (limited to 'scripts/build-installer')
| -rwxr-xr-x | scripts/build-installer | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build-installer b/scripts/build-installer index e3c4fcb..e8fd399 100755 --- a/scripts/build-installer +++ b/scripts/build-installer @@ -1,5 +1,6 @@ #!/bin/sh -repo="$HOME/.config/guix" +retry="$(dirname $0)/guix-retry" +repo="$(realpath "$(dirname $0)/..")" date="$(date -Iseconds)" -image=$(guix-retry guix system -L "$repo/modules" image -t iso9660 "$repo/systems/installer.scm") +image=$("$retry" guix system -L "$repo/modules" image -t iso9660 "$repo/systems/installer.scm") cp $image "./guix-installer-$date.iso" |