From 46a284263fe03bc81950586376b9be43d1b5c713 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 14 Feb 2020 22:45:33 +0100 Subject: Fix build --- src/nix/installables.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nix/installables.cc') 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 InstallableFlake::toDerivation() -- cgit v1.2.3