diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-09-18T09·11+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-09-18T09·11+0000 |
commit | f3441e6122c3ce8f81576bfe79897a638c8f82e2 (patch) | |
tree | 59351c47a2090ab04dda61c24059e8b4c7f8497f /src/libexpr/primops.cc | |
parent | 26f981c2e52bb8dc91311f9a4ca53f7e37233e5c (diff) |
* Pass various options to the worker so that flags like -K or -j work
in multi-user Nix (NIX-72). * Client/worker: exchange a protocol version number for future compatibility.
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 044eff657ba1..d0326a3e568c 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -773,7 +773,6 @@ static Expr prim_listToAttrs(EvalState & state, const ATermVector & args) if (matchAttrs(evaledExpr, attrs)){ Expr e = evalExpr(state, makeSelect(evaledExpr, toATerm("attr"))); string attr = evalStringNoCtx(state,e); - ATerm value; Expr r = makeSelect(evaledExpr, toATerm("value")); res.set(toATerm(attr), makeAttrRHS(r, makeNoPos())); } @@ -783,7 +782,7 @@ static Expr prim_listToAttrs(EvalState & state, const ATermVector & args) } // for return makeAttrs(res); } catch (Error & e) { - e.addPrefix(format("while calling listToAttrs ")); + e.addPrefix(format("in `listToAttrs':\n")); throw; } } |