soc/intel/xeon_sp: Align resources to 4K
[coreboot2.git] / util / liveiso / nixos / build.sh
blob9a3889d22daa98377924d784ac283e25b1cc9493
1 #!/usr/bin/env sh
3 config=$1
5 if [ -z "$config" ] || [ ! -f "$config" ]; then
6 echo "Usage: $0 <config.nix>"
7 echo "No config given. Exiting."
8 exit 1
9 fi
11 nix-build '<nixpkgs/nixos>' \
12 -A config.system.build.isoImage \
13 -I nixos-config=$config \
14 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-23.11.tar.gz