diff options
author | tv <tv@krebsco.de> | 2018-11-30 09:40:53 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-11-30 09:47:26 +0100 |
commit | 498668488f801d6accb7d7937f958eecc3135ac3 (patch) | |
tree | 6626c9abb3b336eb4f6161d22d516080ec4eb6a9 /jeschli/5pkgs | |
parent | 8d87e4b8909adff80f9b9dd83fe177a3dff8918d (diff) |
lib: add mapNixDir{,1}
Diffstat (limited to 'jeschli/5pkgs')
-rw-r--r-- | jeschli/5pkgs/simple/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/jeschli/5pkgs/simple/default.nix b/jeschli/5pkgs/simple/default.nix index 1b9d8c2..6ba4fec 100644 --- a/jeschli/5pkgs/simple/default.nix +++ b/jeschli/5pkgs/simple/default.nix @@ -15,10 +15,4 @@ let else override; in - listToAttrs - (map - (name: nameValuePair (removeSuffix ".nix" name) - (callPackage (./. + "/${name}") {})) - (filter - (name: name != "default.nix" && !hasPrefix "." name) - (attrNames (readDir ./.)))) + mapNixDir (path: callPackage path {}) ./. |