statix, deadnix, alejandra

This commit is contained in:
Gerg-L 2024-07-08 17:08:13 -04:00
commit 6d93ed03c4
No known key found for this signature in database
24 changed files with 28 additions and 61 deletions

View file

@ -66,7 +66,7 @@
mkSetLuaBinding = binding: action:
mkLuaBinding binding.value action binding.description;
pushDownDefault = attr: mapAttrs (_: value: mkDefault value) attr;
pushDownDefault = attr: mapAttrs (_: mkDefault) attr;
};
in
binds

View file

@ -84,7 +84,7 @@ in {
normalizedDag =
mapAttrs (n: v: {
name = n;
data = v.data;
inherit (v) data;
after = v.after ++ dagBefore dag n;
})
dag;
@ -117,7 +117,6 @@ in {
entriesBetween = tag: let
go = i: before: after: entries: let
name = "${tag}-${toString i}";
i' = i + 1;
in
if entries == []
then empty

View file

@ -5,7 +5,7 @@
}: let
inherit (lib.options) mkOption;
inherit (lib.attrsets) attrNames mapAttrs' filterAttrs nameValuePair;
inherit (lib.strings) hasPrefix removePrefix isString;
inherit (lib.strings) hasPrefix removePrefix;
inherit (lib.types) submodule either package enum str lines attrsOf anything listOf nullOr;
# Get the names of all flake inputs that start with the given prefix.