diff options
author | tv <tv@shackspace.de> | 2015-10-21 00:08:18 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-21 01:53:07 +0200 |
commit | 3ce57c3de3f3dc95669d3a0564f6f7d0ff425321 (patch) | |
tree | 58eab48c4a0c8150f3f6ad66f0e952b18d73a627 /krebs/5pkgs/default.nix | |
parent | 8f7253184ac53792d125c6713b0757da58389b1e (diff) |
stockholm: provide krebs lib
Diffstat (limited to 'krebs/5pkgs/default.nix')
-rw-r--r-- | krebs/5pkgs/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index 84fb8725b..0ec4b3ded 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -1,7 +1,6 @@ -{ pkgs, ... }: - -with import ../4lib { inherit (pkgs) lib; }; +{ lib, pkgs, ... }: +with lib; let subdirs = mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.); pkgs' = pkgs // subdirs; |