Merge pull request #6350 from flox/lock_installable

fix(run): set applyNixConfig lockFlag
This commit is contained in:
Eelco Dolstra 2022-04-04 10:50:17 +02:00 committed by GitHub
commit e496241413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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