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/reconfigure-system | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/reconfigure-system') diff --git a/scripts/reconfigure-system b/scripts/reconfigure-system index 3d378f3..19792d1 100755 --- a/scripts/reconfigure-system +++ b/scripts/reconfigure-system @@ -1,3 +1,4 @@ #!/bin/sh -repo="$HOME/.config/guix" -sudo -E guix-retry guix system -L "$repo/modules" reconfigure "$repo/systems/$(hostname).scm" +retry="$(dirname $0)/guix-retry" +repo="$(realpath "$(dirname $0)/..")" +sudo -E "$retry" guix system -L "$repo/modules" reconfigure "$repo/systems/$(hostname).scm" -- cgit v1.2.3-freya