guix-installer/build-iso.sh
2021-06-22 08:12:29 -05:00

10 lines
285 B
Bash
Executable file

#!/bin/sh
# Write out the current channels to be included with the image
guix describe -f channels > ./channels.scm
# Build the image and copy it to the current directory
image=$(guix system image -t iso9660 ./installer.scm)
echo "Built image: $image"
cp $image ./guix-installer.iso