From 141e111a489ce91fac611537f6b718a57f556c4e Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 12 Dec 2024 19:15:02 -0500 Subject: update repo path resolution in scripts --- scripts/build-installer | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/build-installer') 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" -- cgit v1.2.3-freya