dotfiles-guix/scripts/build-installer
Freya Murphy f8e9e25a91
Some checks failed
installer / build (push) Failing after 20s
add guix installer workflow
2024-12-19 17:00:09 -05:00

8 lines
304 B
Bash
Executable file

#!/bin/sh
export GUIX_RETRY_NO_PROMPT=yes
retry="$(dirname $0)/guix-retry"
repo="$(realpath "$(dirname $0)/..")"
command="\"$retry\" guix system -L \"$repo/modules\" image -t iso9660 \"$repo/systems/installer.scm\""
image=$(sh -c "$command")
date="$(date -Iseconds)"
cp $image "guix-installer-$date.iso"