1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/src
John Ericson d2ce2e89b1 Split OptionalPathSetting from PathSetting
Rather than doing `allowEmpty` as boolean, have separate types and use
`std::optional`. This makes it harder to forget the possibility of an
empty path.

The `build-hook` setting was categorized as a `PathSetting`, but
actually it was split into arguments. No good! Now, it is
`Setting<Strings>` which actually reflects what it means and how it is
used.

Because of the subtyping, we now also have support for
`Setting<std::optional<String>>` in general. I imagine this can be used
to clean up many more settings also.
2023-06-18 23:31:18 -04:00
..
build-remote Split comment, match with each variable 2023-05-08 10:08:01 -04:00
libcmd Merge pull request #8477 from edolstra/tarball-flake-redirects 2023-06-16 18:03:50 +02:00
libexpr Merge pull request #8477 from edolstra/tarball-flake-redirects 2023-06-16 18:03:50 +02:00
libfetchers Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00
libmain nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
libstore Split OptionalPathSetting from PathSetting 2023-06-18 23:31:18 -04:00
libutil Split OptionalPathSetting from PathSetting 2023-06-18 23:31:18 -04:00
nix Add missing <sys/select.h> include 2023-06-05 20:18:24 -07:00
nix-build nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-channel Add nix-channel --list-generations 2023-06-02 10:12:35 +02:00
nix-collect-garbage Make nix-collect-garbage -d look into more places 2023-05-15 11:36:53 +02:00
nix-copy-closure Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
nix-env nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-instantiate nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
nix-store Revert "Revert "Use template structs instead of phantoms"" 2023-05-17 22:44:47 -04:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11