Skip to content

Commit

Permalink
Don't trace inside nottmpfiles.generator
Browse files Browse the repository at this point in the history
Signed-off-by: magic_rb <[email protected]>
  • Loading branch information
MagicRB committed Dec 13, 2024
1 parent ef2867a commit 45fc112
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions lib/nottmpfiles/generator.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ rules:
let
fromNull = x: if x == null then "-" else x;
in
lib.traceVal (
lib.concatMapStringsSep "\n" (
{
type,
path,
mode,
user,
group,
age,
argument,
}:
"${fromNull type} ${fromNull path} ${fromNull mode} ${fromNull user} ${fromNull group} ${fromNull age} ${fromNull argument}"
) rules
)
(lib.concatMapStringsSep "\n" (
{
type,
path,
mode,
user,
group,
age,
argument,
}:
"${fromNull type} ${fromNull path} ${fromNull mode} ${fromNull user} ${fromNull group} ${fromNull age} ${fromNull argument}"
) rules)
+ "\n"

0 comments on commit 45fc112

Please sign in to comment.