forked from lix-project/lix
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;
|
NixRepl::AnnotatedValues values;
|
||||||
for (auto & installable: installables){
|
for (auto & installable: installables){
|
||||||
auto what = installable->what();
|
auto what = installable->what();
|
||||||
if (!settings.isExperimentalFeatureEnabled(Xp::Flakes) && file){
|
if (file){
|
||||||
auto [val, pos] = installable->toValue(*state);
|
auto [val, pos] = installable->toValue(*state);
|
||||||
auto what = installable->what();
|
auto what = installable->what();
|
||||||
state->forceValue(*val, pos);
|
state->forceValue(*val, pos);
|
||||||
|
|
Loading…
Reference in a new issue