From ce86a988c11fe3077da439672b8a462cec61bcd4 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 15 Oct 2015 01:02:25 +0200 Subject: krebs pkgs: callPackages for all subdirs --- krebs/5pkgs/default.nix | 24 +----------------------- 1 file changed, 1 insertion(+), 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; } '' -- cgit v1.2.3