nixpkgs/lib
Danylo Hlynskyi 60e8fcf0e5
module system: revert "remove types.optionSet", just deprecate (#56857)
The explicit remove helped to uncover some hidden uses of `optionSet`
in NixOps. However it makes life harder for end-users of NixOps - it will
be impossible to deploy 19.03 systems with old NixOps, but there is no
new release of NixOps with `optionSet` fixes.

Also, "deprecation" process isn't well defined. Even that `optionSet` was
declared "deprecated" for many years, it was never announced. Hence, I
leave "deprecation" announce. Then, 3 releases after announce,
we can announce removal of this feature.

This type has to be removed, not `throw`-ed in runtime, because it makes
some perfectly fine code to fail. For example:
```
$ nix-instantiate --eval -E '(import <nixpkgs/lib>).types' --strict
trace: `types.list` is deprecated; use `types.listOf` instead
error: types.optionSet is deprecated; use types.submodule instead
(use '--show-trace' to show detailed location information)
```
2019-03-07 21:28:09 +02:00
..
systems cross/tests: add llvm-based tests 2019-02-26 19:46:24 -05:00
tests Fix the documentation for the tests to reflect what is actually happening. 2019-02-07 10:33:48 +09:00
asserts.nix
attrsets.nix bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
customisation.nix lib: tiny cleanup 2019-02-03 15:30:15 +00:00
debug.nix
default.nix linux: convert hardened-config to a structured one 2019-01-28 09:07:24 +09:00
deprecated.nix lib: add shortcuts for fake hashes (fakeSha256, fakeSha512) 2019-01-10 19:27:35 +02:00
fetchers.nix
filesystem.nix
fixed-points.nix bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
generators.nix
kernel.nix linux: convert hardened-config to a structured one 2019-01-28 09:07:24 +09:00
licenses.nix Merge pull request #55488 from winpat/add_dirvish 2019-02-24 12:02:11 +01:00
lists.nix
meta.nix lib: implement setPrio 2018-11-22 08:59:48 +00:00
minver.nix
modules.nix module system: revert "remove types.optionSet", just deprecate (#56857) 2019-03-07 21:28:09 +02:00
options.nix module system: revert "remove types.optionSet", just deprecate (#56857) 2019-03-07 21:28:09 +02:00
sources.nix lib: commitIdFromGitRepo: simplify a tiny bit 2018-11-08 05:20:18 +00:00
strings-with-deps.nix
strings.nix lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
trivial.nix 19.09 is Loris. 2019-02-25 23:21:14 +01:00
types.nix module system: revert "remove types.optionSet", just deprecate (#56857) 2019-03-07 21:28:09 +02:00
versions.nix
zip-int-bits.nix