treewide: Remove unwanted dependencies (#7487)

Fixes interpolation of packages in the default and example texts.
This commit is contained in:
Tom Hubrecht 2025-07-17 21:12:50 +02:00 committed by GitHub
parent 460f1e9af9
commit 8eb2f2a26a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 50 additions and 18 deletions

View file

@ -23,6 +23,15 @@ in
"'\\[?{" + ''"name": "(?P<name>.*)", "address": "(?P<email>.+)", "name-addr": ".*"'' + "}[,\\]]?'";
shellcommand_external_filtering = "False";
};
defaultText = lib.literalExpression ''
{
type = "shellcommand";
command = "''\'''${pkgs.notmuch}/bin/notmuch address --format=json --output=recipients date:6M..'";
regexp =
"'\\[?{" + '''"name": "(?P<name>.*)", "address": "(?P<email>.+)", "name-addr": ".*"''' + "}[,\\]]?'";
shellcommand_external_filtering = "False";
}
'';
example = lib.literalExpression ''
{
type = "shellcommand";