From 0e6c84a771a2b124a200bfbedc85e51884ea63a6 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 12 Dec 2018 22:59:03 +0100 Subject: [PATCH] nix repl: don't create result symlinks --- src/nix/repl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix/repl.cc b/src/nix/repl.cc index d93fd770e..d4806d74a 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)