aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-31 16:12:25 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-03-31 16:12:25 +0200
commit6051cc954b990fa57a6d3b75bd4b0aaaceb0ca82 (patch)
tree5c82b7a07b29c8ecf056de697deaa4373a20be63 /src/libstore/derivations.cc
parente279fbb16a99896101006ec00277a5d9d50f5040 (diff)
Rename 'pure' -> 'sandboxed' for consistency
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r--src/libstore/derivations.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index b4fb77f9f..cc04119c3 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -97,7 +97,7 @@ bool DerivationType::isSandboxed() const
return true;
},
[](const ContentAddressed & ca) {
- return ca.pure;
+ return ca.sandboxed;
},
[](const Impure &) {
return false;
@@ -530,7 +530,7 @@ DerivationType BasicDerivation::type() const
if (*fixedCAOutputs.begin() != "out")
throw Error("single fixed output must be named \"out\"");
return DerivationType::ContentAddressed {
- .pure = false,
+ .sandboxed = false,
.fixed = true,
};
}
@@ -541,7 +541,7 @@ DerivationType BasicDerivation::type() const
&& deferredIAOutputs.empty()
&& impureOutputs.empty())
return DerivationType::ContentAddressed {
- .pure = true,
+ .sandboxed = true,
.fixed = false,
};