From 6ecb840fd118019f879de60007e13321b7c080d3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 30 Nov 2006 18:02:04 +0000 Subject: * Put building in the store API. --- src/libexpr/primops.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libexpr') diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index d4de6027e4..17a04bc833 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -1,4 +1,3 @@ -#include "build.hh" #include "misc.hh" #include "eval.hh" #include "globals.hh" @@ -50,7 +49,7 @@ static Expr primImport(EvalState & state, const ATermVector & args) throw EvalError(format("cannot import `%1%', since path `%2%' is not valid") % path % *i); if (isDerivation(*i)) - buildDerivations(singleton(*i)); + store->buildDerivations(singleton(*i)); } return evalFile(state, path); -- cgit 1.4.1