summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-15 01:02:25 +0200
committertv <tv@shackspace.de>2015-10-15 01:02:25 +0200
commitce86a988c11fe3077da439672b8a462cec61bcd4 (patch)
tree13ef397b396d8a085cf6c7296dd0566e62499fc1
parent3a375d843ec4a6828673597810101923619a3e94 (diff)
krebs pkgs: callPackages for all subdirs
-rw-r--r--krebs/5pkgs/default.nix24
1 files changed, 1 insertions, 23 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index c48c3dee8..83cca961e 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -2,29 +2,7 @@
with import ../4lib { inherit lib; };
-let
- inherit (pkgs) callPackage;
-in
-
-rec {
- cac = callPackage ./cac {};
- charybdis = callPackage ./charybdis {};
- dic = callPackage ./dic {};
- genid = callPackage ./genid {};
- get = callPackage ./get {};
- github-hosts-sync = callPackage ./github-hosts-sync {};
- hashPassword = callPackage ./hashPassword {};
- jq = callPackage ./jq {};
- krebszones = callPackage ./krebszones {};
- lentil = callPackage ./lentil {};
- much = callPackage ./much {};
- nq = callPackage ./nq {};
- posix-array = callPackage ./posix-array {};
- pssh = callPackage ./pssh {};
- passwdqc-utils = callPackage ./passwdqc-utils {};
- Reaktor = callPackage ./Reaktor {};
- realwallpaper = callPackage ./realwallpaper.nix {};
- youtube-tools = callPackage ./youtube-tools {};
+mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.) // rec {
execve = name: { filename, argv, envp ? {}, destination ? "" }:
writeC name { inherit destination; } ''