diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 11:05:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 11:05:46 -0400 |
commit | b3e73547a03f068ae4dd9cca4bc865cde85c8dec (patch) | |
tree | 2aa71c59bb9c4825b8e0c0dde059442b74b2427d | |
parent | 0559ff3d8bcfc21fea9cff07dbd6108cfdc97b85 (diff) |
Update src/libexpr/primops.cc
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 9ecf99f17..65d36ca0e 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -647,7 +647,7 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * /* The `args' attribute is special: it supplies the command-line arguments to the builder. */ - if (i->name == state.sArgs) { + else if (i->name == state.sArgs) { state.forceList(*i->value, pos); for (unsigned int n = 0; n < i->value->listSize(); ++n) { string s = state.coerceToString(posDrvName, *i->value->listElems()[n], context, true); |