GHA: pass --accept-flake-config to nix

This commit is contained in:
Rory&
2026-07-11 08:02:18 +02:00
parent 4cfb0bb6c0
commit ac0a7a98c1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
trusted-substituters = https://cache.nixos.org https://nix-bincache.rory.gay
- name: Build the docker image
run: nix build .#containers.x86_64-linux.docker.${{ matrix.package }}
run: nix build --accept-flake-config .#containers.x86_64-linux.docker.${{ matrix.package }}
- run: docker load < result
- name: downcase REPO
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
+3 -3
View File
@@ -17,6 +17,6 @@ jobs:
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-bincache.rory.gay:663PIW8xxgIImxLcsokODWI2PHFWXvzJEfjX6TaIjxQ=
trusted-substituters = https://cache.nixos.org https://nix-bincache.rory.gay
- run: nix build -L -j auto
- run: nix develop --command echo OK
- run: nix flake check -vL -j auto
- run: nix build --accept-flake-config -L -j auto
- run: nix develop --accept-flake-config --command echo OK
- run: nix flake check --accept-flake-config -vL -j auto