From f0b44d685478fd3b5fc7860b80821084c24790da Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 9 Aug 2025 17:33:13 +0200 Subject: [PATCH] Add eval warning --- modules/launchd/launchd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index 9eabf0a..8499e25 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -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 {