aboutsummaryrefslogtreecommitdiff
path: root/src/nix/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-03 11:26:36 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-03 11:29:34 +0200
commit82b77a77262c414044fffc7ad8b955ad91827995 (patch)
tree9cc018ab54b7fea9a541772a6db2b952555ffe23 /src/nix/build.cc
parent00d25e84577659ccf0bc360c61c47b6cd25d1c26 (diff)
addPermRoot(): Remove indirect flag
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r--src/nix/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/build.cc b/src/nix/build.cc
index 13d14a7fb..75a42ac55 100644
--- a/src/nix/build.cc
+++ b/src/nix/build.cc
@@ -71,14 +71,14 @@ struct CmdBuild : InstallablesCommand, MixDryRun, MixProfile
[&](BuildableOpaque bo) {
std::string symlink = outLink;
if (i) symlink += fmt("-%d", i);
- store2->addPermRoot(bo.path, absPath(symlink), true);
+ store2->addPermRoot(bo.path, absPath(symlink));
},
[&](BuildableFromDrv bfd) {
for (auto & output : bfd.outputs) {
std::string symlink = outLink;
if (i) symlink += fmt("-%d", i);
if (output.first != "out") symlink += fmt("-%s", output.first);
- store2->addPermRoot(output.second, absPath(symlink), true);
+ store2->addPermRoot(output.second, absPath(symlink));
}
},
}, buildables[i]);