-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
documentationidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
Description
Problem
Changing the behavior of builtins is risky to impossible, as we promise to evaluate reproducibly over time.
(that's without language versioning, which is hard to pull off in any kind of friendly, robust way EDIT: and which would be detrimental to the ecosystem due to opportunity cost)
Proposal
Nixpkgs lib and possibly alternative libraries extend and improve the builtins.
- Recommend to use those functions whenever possible.
This also settles the question: should I usebuiltinsorlib? Alwayslib. It's better. - Highlight known differences between builtins and Nixpkgs
lib. A worthwhile layering violation.
Checklist
- checked latest Nix manual (source)
- checked open documentation issues and pull requests for possible duplicates
Context
Add 👍 to issues you find important.
philiptaron, fricklerhandwerk, roberth and Jayman2000
Metadata
Metadata
Assignees
Labels
documentationidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.