Skip to content

Commit

Permalink
fix(run): set applyNixConfig lockFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek committed Apr 2, 2022
1 parent bf48959 commit c1e2ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nix/run.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit c1e2ce4

Please sign in to comment.