From 1aba0bf0fa831ffee628ae50730eade5b19a544f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Jun 2012 16:58:15 -0400 Subject: nix-store -r: do substitutions in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I.e. when multiple non-derivation arguments are passed to ‘nix-store -r’ to be substituted, do them in parallel. --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/primops.cc') diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 4a171a2aeb4f..7587dccea4aa 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -53,7 +53,7 @@ static void prim_import(EvalState & state, Value * * args, Value & v) try { /* !!! If using a substitute, we only need to fetch the selected output of this derivation. */ - store->buildDerivations(singleton(ctx)); + store->buildPaths(singleton(ctx)); } catch (Error & e) { throw ImportError(e.msg()); } -- cgit 1.4.1