From 0f24400d90daf65cf20142a662f8245008437e2c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 19 Nov 2013 14:09:03 +0100 Subject: Generalise meta attributes --- src/nix-instantiate/nix-instantiate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nix-instantiate') diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index fd2c04eae444..b7f944062cec 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -63,10 +63,10 @@ void processExpr(EvalState & state, const Strings & attrPaths, DrvInfos drvs; getDerivations(state, v, "", autoArgs, drvs, false); foreach (DrvInfos::iterator, i, drvs) { - Path drvPath = i->queryDrvPath(state); + Path drvPath = i->queryDrvPath(); /* What output do we want? */ - string outputName = i->queryOutputName(state); + string outputName = i->queryOutputName(); if (outputName == "") throw Error(format("derivation `%1%' lacks an `outputName' attribute ") % drvPath); -- cgit 1.4.1