Add eval warning

This commit is contained in:
Linnnus 2025-08-09 17:33:13 +02:00
parent 23acc59c99
commit f0b44d6854

View file

@ -120,6 +120,8 @@ in
This key maps to the second argument of `execvp(3)`. This key is required in the absence of the Program
key. Please note: many people are confused by this key. Please read `execvp(3)` very carefully!
'';
# TODO: Remove this some time after 25.11.
apply = map (value: lib.warnIf (lib.hasInfix "&" value) "A value for `ProgramArguments` contains the literal string `&`. This is no longer necessary and will lead to double-escaping, as nix-darwin now automatically escapes special characters." value);
};
EnableGlobbing = mkOption {