1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 01:11:02 +03:00

nixos/tor: fix eval take three

This time I looked through all the symbols in `lib` and verified that each instance had a `lib.` before it.

The `nixosTests.tor` continues to pass. It doesn't cover all the cases, sadly.
This commit is contained in:
Philip Taron 2025-01-01 14:41:54 -08:00
parent 53402f94eb
commit b74d409127
No known key found for this signature in database

View file

@ -126,7 +126,7 @@ let
); );
config = { config = {
flags = flags =
filter (name: config.${name} == true) isolateFlags lib.filter (name: config.${name} == true) isolateFlags
++ lib.optional (config.SessionGroup != null) "SessionGroup=${toString config.SessionGroup}"; ++ lib.optional (config.SessionGroup != null) "SessionGroup=${toString config.SessionGroup}";
}; };
} }
@ -244,7 +244,7 @@ let
} }
); );
config = { config = {
flags = filter (name: config.${name} == true) flags; flags = lib.filter (name: config.${name} == true) flags;
}; };
} }
)) ))
@ -928,7 +928,7 @@ in
} }
); );
config = { config = {
flags = filter (name: config.${name} == true) flags; flags = lib.filter (name: config.${name} == true) flags;
}; };
} }
)) ))