Add --impure flag to nix builds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user