remove renderClanOptions

we already evaluate those else where.
This commit is contained in:
Jörg Thalheim
2024-10-09 13:57:01 +02:00
parent fb65e4730d
commit 1a6e2f7db6

View File

@@ -18,19 +18,6 @@
{ {
checks = checks =
let let
# ensure all options can be rendered after importing clan into nixos
renderClanOptions =
let
docs = pkgs.nixosOptionsDoc {
options =
(pkgs.nixos {
imports = [ self.nixosModules.clanCore ];
clan.core.clanDir = ./.;
}).options;
warningsAreErrors = false;
};
in
docs.optionsJSON;
nixosTestArgs = { nixosTestArgs = {
# reference to nixpkgs for the current system # reference to nixpkgs for the current system
inherit pkgs; inherit pkgs;
@@ -61,7 +48,7 @@
self'.legacyPackages.homeConfigurations or { } self'.legacyPackages.homeConfigurations or { }
); );
in in
{ inherit renderClanOptions; } // nixosTests // flakeOutputs; nixosTests // flakeOutputs;
legacyPackages = { legacyPackages = {
nixosTests = nixosTests =
let let