treewide: Remove unwanted dependencies (#7487)
Fixes interpolation of packages in the default and example texts.
This commit is contained in:
parent
460f1e9af9
commit
8eb2f2a26a
14 changed files with 50 additions and 18 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue