aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-07-17 11:32:59 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-07-17 11:32:59 -0400
commit487c5751c64efa9d39c9e39d16eb1fee9fc0d941 (patch)
tree3d1f24c336ea316d951d39222c7b06a15bc24cd6 /src/libstore/local-store.cc
parenta395c12830e0cd373e0f3b7a56dc8b6bb8b00f1b (diff)
parentd9fb9e9f26e29d9d9001af700deada32ca740cf6 (diff)
Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 155c537a5..19537b8e5 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -556,7 +556,7 @@ void LocalStore::checkDerivationOutputs(const StorePath & drvPath, const Derivat
};
- if (drv.isFixedOutput()) {
+ if (derivationIsFixed(drv.type())) {
DerivationOutputs::const_iterator out = drv.outputs.find("out");
if (out == drv.outputs.end())
throw Error("derivation '%s' does not have an output named 'out'", printStorePath(drvPath));