From 73dd4b1f8f3e55063a523a28b347cc48a60e748b Mon Sep 17 00:00:00 2001 From: strawberry Date: Sun, 16 Jun 2024 18:54:03 -0400 Subject: [PATCH] ci: enable accept-flake-config, use the same args everywhere Signed-off-by: strawberry --- .gitea/workflows/ci.yml | 16 +++++++++++++--- .github/workflows/ci.yml | 16 +++++++++++++--- .github/workflows/documentation.yml | 4 +++- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d2175cd2..c501dd2c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -68,7 +68,9 @@ jobs: uses: https://github.com/DeterminateSystems/nix-installer-action@main with: diagnostic-endpoint: "" - extra-conf: "experimental-features = nix-command flakes" + extra-conf: | + experimental-features = nix-command flakes + accept-flake-config = true - name: Enable Cachix binary cache run: | @@ -178,6 +180,11 @@ jobs: - name: Install Nix uses: https://github.com/DeterminateSystems/nix-installer-action@main + with: + diagnostic-endpoint: "" + extra-conf: | + experimental-features = nix-command flakes + accept-flake-config = true - name: Install and enable Cachix binary cache run: | @@ -187,12 +194,15 @@ jobs: - name: Configure Magic Nix Cache uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main + with: + diagnostic-endpoint: "" + upstream-cache: "https://attic.kennel.juneis.dog" - name: Apply Nix binary cache configuration run: | sudo tee -a /etc/nix/nix.conf > /dev/null < /dev/null <