diff options
author | Will Dietz <w@wdtz.org> | 2018-06-23T12·49-0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-06-23T12·56-0500 |
commit | 6a24e49ba82553b5efcc49c627424bd4e26e16a5 (patch) | |
tree | ea0939243e1e0ebd15f2e16c380ec1998490d263 /src | |
parent | 6924bdf2bf8f50f2e6ec5d490571594450aba13a (diff) |
repl: use `nix build` for building instead of `nix-store -r`
progress bar!
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 4723a1974b77..1eb716006375 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -385,7 +385,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-store", Strings{"-r", drvPath}) == 0) { + if (runProgram(settings.nixBinDir + "/nix", Strings{"build", drvPath}) == 0) { Derivation drv = readDerivation(drvPath); std::cout << std::endl << "this derivation produced the following outputs:" << std::endl; for (auto & i : drv.outputs) |