aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);