diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 10:42:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 10:42:09 +0200 |
commit | 9bfdd556cffb46bf0c8d8105c992e029d9c01dd3 (patch) | |
tree | 60e64467d58d6a64ffeb9e5e13b63d7a73938484 /src/nix/repl.cc | |
parent | 1ba993d07c8e823c6051de207b9d1fe07aa16656 (diff) | |
parent | 76e368a3b4b8d66b66c4a2a72016a2cc8a013a5c (diff) |
Merge pull request #5244 from edolstra/fix-mac-build
Fix macOS build
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index abb10f674..b85ed9288 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -111,7 +111,7 @@ string runNix(Path program, const Strings & args, auto subprocessEnv = getEnv(); subprocessEnv["NIX_CONFIG"] = globalConfig.toKeyValue(); - auto res = runProgram({ + auto res = runProgram(RunOptions { .program = settings.nixBinDir+ "/" + program, .args = args, .environment = subprocessEnv, |