repl: allow --file to always utilize autoargs
This commit is contained in:
parent
7d7e00272a
commit
db613a85fb
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue