diff options
author | Tom Bereknyei <tomberek@gmail.com> | 2022-05-20 01:35:06 -0400 |
---|---|---|
committer | Tom Bereknyei <tomberek@gmail.com> | 2022-05-20 01:35:06 -0400 |
commit | db613a85fb7fb8c8a0f476f83db92523cce327f7 (patch) | |
tree | 59876bed99b19455bff74758e6f35cc6ff790c3b /src/nix | |
parent | 7d7e00272a2f47f68b3809296992db84ae871e09 (diff) |
repl: allow --file to always utilize autoargs
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 6c05daa11..e9898c08c 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -938,7 +938,7 @@ struct CmdRepl : InstallablesCommand NixRepl::AnnotatedValues values; for (auto & installable: installables){ auto what = installable->what(); - if (!settings.isExperimentalFeatureEnabled(Xp::Flakes) && file){ + if (file){ auto [val, pos] = installable->toValue(*state); auto what = installable->what(); state->forceValue(*val, pos); |