1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libexpr/flake
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
..
call-flake.nix Represent 'follows' inputs explicitly in the lock file 2020-06-11 14:40:21 +02:00
config.cc Whitelist nixConfig.flake-registry 2021-08-07 14:42:59 +03:00
flake.cc Make experimental-features a proper type 2021-10-26 07:02:31 +02:00
flake.hh If we can't write a lock file, pretend the top-level flake is dirty 2021-09-15 18:31:42 +02:00
flakeref.cc Set input parent at construction time 2021-09-21 14:07:16 +02:00
flakeref.hh Switch comment format from '// ...' to '/* ... */' for consistency. 2020-09-28 09:37:26 -07:00
lockfile.cc In flake lock file diffs, show the last-modified date of inputs if available 2021-08-11 19:35:28 +02:00
lockfile.hh Capitalize JSON for consistency 2020-10-28 17:54:28 -05:00