From a55112898e23df10a7a0d2a0cd359996100e3512 Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Sat, 29 Jun 2024 20:23:17 +0200 Subject: libexpr/flake: allow automatic rejection of configuration options from flakes The `allow-flake-configuration` option allows the user to control whether to accept configuration options supplied by flakes. Unfortunately, setting this to false really meant "ask each time" (with an option to remember the choice for each specific option encountered). Let no mean no, and introduce (and default to) a separate value for the "ask each time" behaviour. Co-Authored-By: Jade Lovelace Change-Id: I7ccd67a95bfc92cffc1ebdc972d243f5191cc1b4 --- doc/manual/rl-next/reject-flake-config.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/manual/rl-next/reject-flake-config.md (limited to 'doc/manual/rl-next') diff --git a/doc/manual/rl-next/reject-flake-config.md b/doc/manual/rl-next/reject-flake-config.md new file mode 100644 index 000000000..d38edc80c --- /dev/null +++ b/doc/manual/rl-next/reject-flake-config.md @@ -0,0 +1,9 @@ +--- +synopsis: Allow automatic rejection of configuration options from flakes +cls: [1541] +credits: [alois31] +category: Improvements +--- + +Setting `accept-flake-config` to `false` now respects user choice by automatically rejecting configuration options set by flakes. +The old behaviour of asking each time is still available (and default) by setting it to the special value `ask`. -- cgit v1.2.3