diff --git a/docs/nix/flake-module.nix b/docs/nix/flake-module.nix index 508435f17..51a719fdb 100644 --- a/docs/nix/flake-module.nix +++ b/docs/nix/flake-module.nix @@ -11,7 +11,6 @@ ... }: let - clanOptions = self'.legacyPackages.clan-internals-docs; # Simply evaluated options (JSON) # { clanCore = «derivation JSON»; clanModules = { ${name} = «derivation JSON» }; } jsonDocs = pkgs.callPackage ./get-module-docs.nix { @@ -74,8 +73,6 @@ export CLAN_MODULES_VIA_SERVICE=${clanModulesViaService} export CLAN_SERVICE_INTERFACE=${self'.legacyPackages.clan-service-module-interface}/share/doc/nixos/options.json - export BUILD_CLAN_PATH=${clanOptions}/share/doc/nixos/options.json - mkdir $out # The python script will place mkDocs files in the output directory diff --git a/docs/nix/render_options/__init__.py b/docs/nix/render_options/__init__.py index bf2a3ebe8..c5b39dc8a 100644 --- a/docs/nix/render_options/__init__.py +++ b/docs/nix/render_options/__init__.py @@ -40,7 +40,6 @@ from clan_lib.services.modules import ( # Get environment variables CLAN_CORE_PATH = Path(os.environ["CLAN_CORE_PATH"]) CLAN_CORE_DOCS = Path(os.environ["CLAN_CORE_DOCS"]) -BUILD_CLAN_PATH = os.environ.get("BUILD_CLAN_PATH") # Options how to author clan.modules # perInstance, perMachine, ...