aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
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 a80338fd3..e38c4db0b 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);