aboutsummaryrefslogtreecommitdiff
path: root/src/nix/develop.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 06:28:55 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:11:25 +0100
commit94bf5a8018e0850964084947c1379ffe3fa2144d (patch)
tree3cab427f358a19955213b5d5848abeb3ff2ee479 /src/nix/develop.cc
parent8505f963a1990566202b0fe60300f89c752ace86 (diff)
Merge pull request #9494 from sellout/nix-run-execv
Don’t use `execvp` when we know the path (cherry picked from commit dfa219d03b2277e61dde1c1ddddddff7411ef112) Change-Id: I2226340cebbe935e1f2fe10207daba69683c8cb3
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r--src/nix/develop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc
index c01ef1a2a..8b92d4ccc 100644
--- a/src/nix/develop.cc
+++ b/src/nix/develop.cc
@@ -589,7 +589,7 @@ struct CmdDevelop : Common, MixEnvironment
}
}
- runProgramInStore(store, shell, args, buildEnvironment.getSystem());
+ runProgramInStore(store, UseSearchPath::Use, shell, args, buildEnvironment.getSystem());
}
};