dotfiles-guix/scripts/build-installer

6 lines
241 B
Bash
Executable file

#!/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"