fix all statix warnings and re-enable statix pre-commit
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
#
|
||||
# type:
|
||||
# mapGetAttr :: String -> AttrSet -> [Any]
|
||||
mapGetAttr = (attr: set: lib.mapAttrsToList (_: attrset: lib.getAttr attr attrset) set);
|
||||
mapGetAttr = attr: set: lib.mapAttrsToList (_: attrset: lib.getAttr attr attrset) set;
|
||||
|
||||
# gets list of files and directories inside of a directory
|
||||
#
|
||||
@ -44,7 +44,7 @@
|
||||
lsdir =
|
||||
dir:
|
||||
lib.optionals (builtins.pathExists dir) (
|
||||
lib.attrNames (lib.filterAttrs (path: type: type == "directory") (builtins.readDir (dir)))
|
||||
lib.attrNames (lib.filterAttrs (path: type: type == "directory") (builtins.readDir dir))
|
||||
);
|
||||
|
||||
# return full paths of all files in a directory
|
||||
|
@ -97,7 +97,7 @@ rec {
|
||||
# type:
|
||||
# genNonX86 :: AttrSet -> [AttrSet]
|
||||
genNonX86 =
|
||||
{ ... }:
|
||||
{ _ }:
|
||||
[
|
||||
{
|
||||
config.nixpkgs = {
|
||||
|
Reference in New Issue
Block a user