aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2022-03-31 20:30:53 -0400
committerTom Bereknyei <tomberek@gmail.com>2022-04-01 23:41:34 -0400
commitc1e2ce4515c12ff0b4b1c3ab6d1e057507104979 (patch)
treea99a8aa9b8d2d646225e24f168bde56b3b1f444d /src/nix/run.cc
parentbf4895961d0869d75fe2fd9ac18887a1daea957e (diff)
fix(run): set applyNixConfig lockFlag
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index 23e893fbf..25a8fa8d3 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -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};