* Added a primop `removeAttrs' to remove attributes from a set, e.g.,
`removeAttrs attrs ["x", "y"]' returns the set `attrs' with the attributes named `x' and `y' removed. It is not an error for the named attributes to be missing from the input set.
Showing
- src/libexpr/primops.cc 18 additions, 0 deletionssrc/libexpr/primops.cc
- tests/lang/eval-fail-remove.nix 5 additions, 0 deletionstests/lang/eval-fail-remove.nix
- tests/lang/eval-okay-remove.exp 1 addition, 0 deletionstests/lang/eval-okay-remove.exp
- tests/lang/eval-okay-remove.nix 5 additions, 0 deletionstests/lang/eval-okay-remove.nix
Loading
Please register or sign in to comment