1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libexpr/primops
regnat af99941279 Make experimental-features a proper type
Rather than having them plain strings scattered through the whole
codebase, create an enum containing all the known experimental features.

This means that
- Nix can now `warn` when an unkwown experimental feature is passed
  (making it much nicer to spot typos and spot deprecated features)
- It’s now easy to remove a feature altogether (once the feature isn’t
  experimental anymore or is dropped) by just removing the field for the
  enum and letting the compiler point us to all the now invalid usages
  of it.
2021-10-26 07:02:31 +02:00
..
context.cc Improve error formatting 2021-01-21 11:02:09 +01:00
derivation.nix Remove corepkgs/derivation.nix 2020-09-17 09:41:02 +02:00
fetchMercurial.cc add pos to EvalState::forceValue 2021-10-14 23:23:05 -05:00
fetchTree.cc Make experimental-features a proper type 2021-10-26 07:02:31 +02:00
fromTOML.cc Improve error formatting 2021-01-21 11:02:09 +01:00