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:
parent
53402f94eb
commit
b74d409127
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue