fix(run): set applyNixConfig lockFlag

This commit is contained in:
Tom Bereknyei 2022-03-31 20:30:53 -04:00
parent bf4895961d
commit c1e2ce4515

View file

@ -182,6 +182,7 @@ struct CmdRun : InstallableCommand
{ {
auto state = getEvalState(); auto state = getEvalState();
lockFlags.applyNixConfig = true;
auto app = installable->toApp(*state).resolve(getEvalStore(), store); auto app = installable->toApp(*state).resolve(getEvalStore(), store);
Strings allArgs{app.program}; Strings allArgs{app.program};