mirror of
https://github.com/NixOS/nix
synced 2025-07-05 12:21:48 +02:00
Don't send settings that depend on disabled experimental features to the daemon
This fixes warnings like
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
when using the daemon and the user didn't actually set those settings.
Note: this also hides those settings from `nix config show`, but that
seems a good thing.
(cherry picked from commit 0acd783190
)
This commit is contained in:
parent
adb1d56862
commit
0b32c8763b
3 changed files with 10 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Template implementations (as opposed to mere declarations).
|
||||
*
|
||||
* This file is an exmample of the "impl.hh" pattern. See the
|
||||
* This file is an example of the "impl.hh" pattern. See the
|
||||
* contributing guide.
|
||||
*
|
||||
* One only needs to include this when one is declaring a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue