mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
repl: allow --file to always utilize autoargs
This commit is contained in:
parent
7d7e00272a
commit
db613a85fb
1 changed files with 1 additions and 1 deletions
|
@ -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