aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-03-21 09:30:16 +0100
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-04-30 11:26:45 +0200
commit24b35bf9e7219feba9399466c41801f0ace3ef74 (patch)
tree4696c5bb2dc7b3427575bf1fc21bbf1727566fb7 /src/nix/flake.cc
parente6109ec76538f05723863dce5a84a3d4f5a85cb7 (diff)
Fixed issue #13
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index a25493f79..00c1c384c 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -92,6 +92,7 @@ struct CmdFlakeDeps : FlakeCommand, MixJSON, StoreCommand, MixEvalArgs
void run(nix::ref<nix::Store> store) override
{
auto evalState = std::make_shared<EvalState>(searchPath, store);
+ evalState->addRegistryOverrides(registryOverrides);
FlakeRef flakeRef(flakeUri);