aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2022-05-20 01:35:06 -0400
committerTom Bereknyei <tomberek@gmail.com>2022-05-20 01:35:06 -0400
commitdb613a85fb7fb8c8a0f476f83db92523cce327f7 (patch)
tree59876bed99b19455bff74758e6f35cc6ff790c3b /src
parent7d7e00272a2f47f68b3809296992db84ae871e09 (diff)
repl: allow --file to always utilize autoargs
Diffstat (limited to 'src')
-rw-r--r--src/nix/repl.cc2
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);