From 5ddeaec8d2e1600344fa129a5ede435e467704bf Mon Sep 17 00:00:00 2001 From: Defelo Date: Tue, 4 Nov 2025 15:49:40 +0100 Subject: [PATCH] chore(flake): set abort-on-warn --- .github/actions/setup-nix/action.yml | 1 + flake.nix | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index 45c5bfe..83cf390 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -51,6 +51,7 @@ runs: with: # Putting build-dir in /nix is a workaround for https://github.com/wimpysworld/nothing-but-nix/issues/18 extra_nix_config: | + accept-flake-config = true build-dir = /nix/build sandbox = ${{ inputs.sandbox }} system = ${{ inputs.system }} diff --git a/flake.nix b/flake.nix index ca285c7..3ab2975 100644 --- a/flake.nix +++ b/flake.nix @@ -52,5 +52,8 @@ }); }; - nixConfig.commit-lock-file-summary = "chore: update flake.lock"; + nixConfig = { + abort-on-warn = true; + commit-lock-file-summary = "chore: update flake.lock"; + }; }