diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-16 22:48:16 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-05-22 14:03:28 +0200 |
commit | 2468672e305faf672c3901c1a9605ca1cb175908 (patch) | |
tree | 1928acc56dd3e6123f004598f7f62625f5f7545a /src/nix/installables.cc | |
parent | 8e5c86befcf33786131645f2855de87dd574badc (diff) |
Improve FlakeCommand
It now handles commonality like calling getFlake() and resolving
relative local flake refs.
Fixes #2822.
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r-- | src/nix/installables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index a2a55d949..85ef2cb56 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -38,7 +38,7 @@ SourceExprCommand::SourceExprCommand() .set(&noRegistries, true); } -ref<EvalState> SourceExprCommand::getEvalState() +ref<EvalState> EvalCommand::getEvalState() { if (!evalState) evalState = std::make_shared<EvalState>(searchPath, getStore()); |