diff options
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 99abbe44b..32cbf8e33 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -242,8 +242,7 @@ NixRepl::NixRepl(const SearchPath & searchPath, nix::ref<Store> store, ref<EvalS { } -void runNix(Path program, const Strings & args, - const std::optional<std::string> & input = {}) +void runNix(Path program, const Strings & args) { auto subprocessEnv = getEnv(); subprocessEnv["NIX_CONFIG"] = globalConfig.toKeyValue(); @@ -252,7 +251,6 @@ void runNix(Path program, const Strings & args, .program = settings.nixBinDir+ "/" + program, .args = args, .environment = subprocessEnv, - .input = input, }); return; |