mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
Merge pull request #6350 from flox/lock_installable
fix(run): set applyNixConfig lockFlag
This commit is contained in:
commit
e496241413
1 changed files with 1 additions and 0 deletions
|
|
@ -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};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue