mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-13 00:49:04 +00:00
GHA: pass --accept-flake-config to nix
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user