summary refs log tree commit diff
path: root/lib/options.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2022-03-18 00:32:53 +0100
committerSilvan Mosberger <contact@infinisil.com>2022-03-18 04:51:27 +0100
commit96698efe0cd9e0ffe38d95e043acafa926fa5e0d (patch)
tree1e2280053c7ae3eaa24b5d87265a941fc8765425 /lib/options.nix
parent6cc306ec23b7b63835be7277647554d14a869f28 (diff)
downloadnixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar.gz
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar.bz2
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar.lz
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar.xz
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.tar.zst
nixpkgs-96698efe0cd9e0ffe38d95e043acafa926fa5e0d.zip
lib/modules: Finally remove deprecated types.optionSet
types.optionSet has been deprecated for almost 10 years now
(0e333688cea468a28516bf6935648c03ed62a7bb)! A removal
was already attempted in 2019
(27982b408e465554b8831f492362bc87ed0ec02a), but it was promptly
reinstantiated since some third-party uses were discovered
(f531ce75e4178c6867cc1d0f7fec96b2d5c3f1cb).

It's finally time to remove it for good :)
Diffstat (limited to 'lib/options.nix')
-rw-r--r--lib/options.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/options.nix b/lib/options.nix
index 9efc1249e58..8d0801775c4 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -79,8 +79,6 @@ rec {
     visible ? null,
     # Whether the option can be set only once
     readOnly ? null,
-    # Deprecated, used by types.optionSet.
-    options ? null
     } @ attrs:
     attrs // { _type = "option"; };