stylix: drop unnecessary use of self in meta.nix
This commit is contained in:
parent
23e3013b62
commit
03748a36d5
2 changed files with 4 additions and 6 deletions
|
|
@ -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:
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue