Merge pull request #7093 from amjoseph-nixpkgs/pr/intersectAttrs/values

src/libexpr/primops.cc: correct definition for intersectAttrs
This commit is contained in:
Eelco Dolstra
2022-09-26 11:11:53 +02:00
committed by GitHub
+2 -2
View File
@@ -2454,8 +2454,8 @@ static RegisterPrimOp primop_intersectAttrs({
.name = "__intersectAttrs",
.args = {"e1", "e2"},
.doc = R"(
Return a set consisting of the attributes in the set *e2* that also
exist in the set *e1*.
Return a set consisting of the attributes in the set *e2* which have the
same name as some attribute in *e1*.
)",
.fun = prim_intersectAttrs,
});