aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-14 22:45:33 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-14 22:45:33 +0100
commit46a284263fe03bc81950586376b9be43d1b5c713 (patch)
treefdcebfec77287da10f4089d4674457b5f07a67b0 /src/nix/installables.cc
parent6208d24c383e95a50e873ed987643ffa329f9428 (diff)
Fix build
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r--src/nix/installables.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index 39ce9b38f..071edf432 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -330,9 +330,9 @@ Value * InstallableFlake::getFlakeOutputs(EvalState & state, const flake::Locked
auto aOutputs = vFlake->attrs->get(state.symbols.create("outputs"));
assert(aOutputs);
- state.forceValue(*(*aOutputs)->value);
+ state.forceValue(*aOutputs->value);
- return (*aOutputs)->value;
+ return aOutputs->value;
}
std::tuple<std::string, FlakeRef, flake::EvalCache::Derivation> InstallableFlake::toDerivation()