mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 01:36:15 +02:00
Rename 'pure' -> 'sandboxed' for consistency
This commit is contained in:
parent
e279fbb16a
commit
6051cc954b
2 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ bool DerivationType::isSandboxed() const
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
[](const ContentAddressed & ca) {
|
[](const ContentAddressed & ca) {
|
||||||
return ca.pure;
|
return ca.sandboxed;
|
||||||
},
|
},
|
||||||
[](const Impure &) {
|
[](const Impure &) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -530,7 +530,7 @@ DerivationType BasicDerivation::type() const
|
||||||
if (*fixedCAOutputs.begin() != "out")
|
if (*fixedCAOutputs.begin() != "out")
|
||||||
throw Error("single fixed output must be named \"out\"");
|
throw Error("single fixed output must be named \"out\"");
|
||||||
return DerivationType::ContentAddressed {
|
return DerivationType::ContentAddressed {
|
||||||
.pure = false,
|
.sandboxed = false,
|
||||||
.fixed = true,
|
.fixed = true,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -541,7 +541,7 @@ DerivationType BasicDerivation::type() const
|
||||||
&& deferredIAOutputs.empty()
|
&& deferredIAOutputs.empty()
|
||||||
&& impureOutputs.empty())
|
&& impureOutputs.empty())
|
||||||
return DerivationType::ContentAddressed {
|
return DerivationType::ContentAddressed {
|
||||||
.pure = true,
|
.sandboxed = true,
|
||||||
.fixed = false,
|
.fixed = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ struct DerivationType_InputAddressed {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct DerivationType_ContentAddressed {
|
struct DerivationType_ContentAddressed {
|
||||||
bool pure;
|
bool sandboxed;
|
||||||
bool fixed;
|
bool fixed;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue