#!/bin/sh set -e -o pipefail 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"