about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-12-12T21·59+0100
committerDaiderd Jordan <daiderd@gmail.com>2018-12-12T22·00+0100
commit0e6c84a771a2b124a200bfbedc85e51884ea63a6 (patch)
tree40d6a8a9857397146e3e0e04dae548ba1e7df7e4 /src
parent800cd55ab74fffe9a1d212c2b8caf4024ebd98b6 (diff)
nix repl: don't create result symlinks
Diffstat (limited to 'src')
-rw-r--r--src/nix/repl.cc2
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)