Add --impure flag to nix builds

This commit is contained in:
NeilClack
2026-07-28 07:49:18 -05:00
parent bad4a06e10
commit f2c3c7beac
+2 -2
View File
@@ -49,14 +49,14 @@ jobs:
- name: Build dev VM
run: |
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
nix build -L .#nixosConfigurations.radiantwavekiosk-dev.config.system.build.toplevel
nix build -L --impure .#nixosConfigurations.radiantwavekiosk-dev.config.system.build.toplevel
# If the closure builds, it's valid, even if incorrect and something is wrong.
# That's why we build the ISO next, even for the dev branch, for testing
- name: Build dev ISO
run: |
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
nix build -L .#nixosConfigurations.dev-iso.config.system.build.isoImage
nix build -L --impure .#nixosConfigurations.dev-iso.config.system.build.isoImage
cp -rL result/iso/*.iso /ssd/radiantwave/build/radiantwave-kiosk-iso-dev-$(date +%Y-%m-%d_%H-%M-%S).iso
- name: Commit updated flake.lock