Experimental feature warnings for config options (and anything with config options in general) should track config option provenance #834

Open
opened 2025-05-16 00:18:04 +00:00 by jade · 0 comments
Owner

Currently we don't report the config file that an offending option came from in our error messages. Maybe we should report it.

Currently:

warning: Ignoring setting 'bash-prompt-suffix' because experimental feature 'nix-command' is not enabled

Society if:

warning: Ignoring setting 'bash-prompt-suffix' in '/etc/nix/nix.conf' because experimental feature 'nix-command' is not enabled

Dreamt up while reporting #833

Currently we don't report the config file that an offending option came from in our error messages. Maybe we should report it. Currently: ``` warning: Ignoring setting 'bash-prompt-suffix' because experimental feature 'nix-command' is not enabled ``` Society if: ``` warning: Ignoring setting 'bash-prompt-suffix' in '/etc/nix/nix.conf' because experimental feature 'nix-command' is not enabled ``` Dreamt up while reporting https://git.lix.systems/lix-project/lix/issues/833
jade added this to the Error reporting project 2025-05-16 00:18:04 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#834
No description provided.