From ccbd359a8f9089a1e7a9566fdca62e26a2bb447c Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 27 Dec 2022 01:21:34 -0600 Subject: flake: enforce nixpkgs-fmt --- util/importAll.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/importAll.nix b/util/importAll.nix index 678cf06..cc18640 100644 --- a/util/importAll.nix +++ b/util/importAll.nix @@ -1,5 +1,5 @@ lib: -{ root, exclude ? [] }: +{ root, exclude ? [ ] }: with builtins; with lib; # http://chriswarbo.net/projects/nixos/useful_hacks.html @@ -7,11 +7,11 @@ let basename = removeSuffix ".nix"; isMatch = name: type: (hasSuffix ".nix" name || type == "directory") - && ! elem name (map basename exclude); + && ! elem name (map basename exclude); entry = name: _: { name = basename name; value = import (root + "/${name}"); }; in - mapAttrs' entry (filterAttrs isMatch (readDir root)) +mapAttrs' entry (filterAttrs isMatch (readDir root)) -- cgit v1.2.3