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