From 8a1584b1453e758e4a21138fec9491d6f164065f Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 2 Apr 2025 12:38:28 +0200 Subject: [PATCH] chore(lib/introspection): add comment about upstream PRs, that allows removing features --- lib/introspection/default.nix | 3 +++ lib/introspection/test.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/introspection/default.nix b/lib/introspection/default.nix index 6c2a0d7e7..e0ade12b4 100644 --- a/lib/introspection/default.nix +++ b/lib/introspection/default.nix @@ -33,6 +33,9 @@ let attrName: prioSet: let # Evaluate the submodule + # Remove once: https://github.com/NixOS/nixpkgs/pull/391544 lands + # This is currently a workaround to get the submodule options + # It also has a certain loss of information, on nested attrsOf, which is rare, but not ideal. options = filteredSubOptions; modules = ( [ diff --git a/lib/introspection/test.nix b/lib/introspection/test.nix index e35934816..f6cc5bb22 100644 --- a/lib/introspection/test.nix +++ b/lib/introspection/test.nix @@ -167,6 +167,7 @@ in }; # TODO(@hsjobeki): Cover this edge case + # Blocked by: https://github.com/NixOS/nixpkgs/pull/390952 check back once that is merged # test_freeform = # let # evaluated = (