summaryrefslogtreecommitdiff
path: root/scripts/build-installer
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-12 19:15:02 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-12 19:15:02 -0500
commit141e111a489ce91fac611537f6b718a57f556c4e (patch)
treeca8078761af62502d053096a4f141abbee860323 /scripts/build-installer
parentbuild-installer script (diff)
downloaddotfiles-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-xscripts/build-installer5
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"