diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-12-13T09·40+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13T09·40+0100 |
commit | 378e89360d75e6101b128b5766a439af96c170fd (patch) | |
tree | c7b23c6d06da6b9bb4947b3062ea7a3267851fef /src | |
parent | 522cebdef427bb8aad0f3ca140deff2e8bb88017 (diff) | |
parent | 0e6c84a771a2b124a200bfbedc85e51884ea63a6 (diff) |
Merge pull request #2576 from LnL7/repl-no-link
nix repl: don't create result symlinks
Diffstat (limited to 'src')
-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 d93fd770e807..d4806d74adb8 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -445,7 +445,7 @@ bool NixRepl::processLine(string line) /* We could do the build in this process using buildPaths(), but doing it in a child makes it easier to recover from problems / SIGINT. */ - if (runProgram(settings.nixBinDir + "/nix", Strings{"build", drvPath}) == 0) { + if (runProgram(settings.nixBinDir + "/nix", Strings{"build", "--no-link", drvPath}) == 0) { Derivation drv = readDerivation(drvPath); std::cout << std::endl << "this derivation produced the following outputs:" << std::endl; for (auto & i : drv.outputs) |