summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-07-11 08:02:18 +0200
committerRory& <root@rory.gay>2026-07-11 08:02:18 +0200
commitac0a7a98c1a002bbe95b0b5e384dc4fa8ee68ee2 (patch)
tree3d4bca3033873699e16ca7437aaa8a25d776bc81
parentHarmonize GHA workflows a little, add nix-bincache.rory.gay to trusted list t... (diff)
downloadserver-ts-ac0a7a98c1a002bbe95b0b5e384dc4fa8ee68ee2.tar.xz
GHA: pass --accept-flake-config to nix
-rw-r--r--.github/workflows/build-docker.yml2
-rw-r--r--.github/workflows/nix-build.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml

index 82a02843..0fc27307 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml
@@ -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} diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml
index d266bd7b..9dcf1cb3 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml
@@ -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