diff --git a/doc/default.nix b/doc/default.nix index f337d8ee..39ee9e6c 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -53,7 +53,7 @@ let }; }; - metadata = callPackage ../stylix/meta.nix { inherit inputs; }; + metadata = callPackage ../stylix/meta.nix { }; # We construct an index of all Stylix options, using the following format: # diff --git a/stylix/meta.nix b/stylix/meta.nix index 4bedd1b2..20315d7b 100644 --- a/stylix/meta.nix +++ b/stylix/meta.nix @@ -1,8 +1,6 @@ { pkgs, lib, - inputs, - ... }: builtins.mapAttrs ( @@ -21,9 +19,9 @@ builtins.mapAttrs ) ( lib.concatMapAttrs ( - path: kind: + target: kind: lib.optionalAttrs (kind == "directory") { - ${path} = import "${inputs.self}/modules/${path}/meta.nix"; + ${target} = import ../modules/${target}/meta.nix; } - ) (builtins.readDir "${inputs.self}/modules") + ) (builtins.readDir ../modules) )