mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Remove superfluous use of hasAccessControl()
This commit is contained in:
parent
ea95327e72
commit
305939655a
1 changed files with 2 additions and 3 deletions
|
@ -91,9 +91,8 @@ StringMap EvalState::realiseContext(const NixStringContext & context)
|
|||
for (auto & [outputName, outputPath] : outputs) {
|
||||
/* Add the output of this derivations to the allowed
|
||||
paths. */
|
||||
if (rootFS->hasAccessControl()) {
|
||||
allowPath(store->toRealPath(outputPath));
|
||||
}
|
||||
|
||||
/* Get all the output paths corresponding to the placeholders we had */
|
||||
if (experimentalFeatureSettings.isEnabled(Xp::CaDerivations)) {
|
||||
res.insert_or_assign(
|
||||
|
|
Loading…
Reference in a new issue