diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-04-16 13:56:08 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-04-16 13:56:08 +0200 |
commit | 035ac443544b46dc87274ed1eb1393b07db0912c (patch) | |
tree | e78b765bfe99eb32d3083c115c855d2493d4c9d8 /src/nix | |
parent | 529acfd24fdfb5e22eb3ec55b14e855ef845c98b (diff) |
Fix makeFlakeValue()
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/installables.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 9bc5ff41f..37217397a 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -146,10 +146,10 @@ struct InstallableFlake : InstallableValue Value * toValue(EvalState & state) override { - auto vTemp = state.allocValue(); - auto vFlake = *makeFlakeValue(state, flakeRef, true, *vTemp); + auto vFlake = state.allocValue(); + makeFlakeValue(state, flakeRef, true, *vFlake); - auto vProvides = (*vFlake.attrs->get(state.symbols.create("provides")))->value; + auto vProvides = (*vFlake->attrs->get(state.symbols.create("provides")))->value; state.forceValue(*vProvides); |