diff options
author | lassulus <lass@aidsballs.de> | 2015-10-15 15:18:29 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-15 15:18:29 +0200 |
commit | ba5479b4cda8bc70fc67e6e0d90d90aa7a7b9dab (patch) | |
tree | ee5b8c780ab6dfd7c0c8b51346a9173d98613fe5 /krebs/5pkgs/default.nix | |
parent | a8816bcfe351c1fe9e1a00b27707b56eb544d390 (diff) | |
parent | 338df3310352163d3cce850e6ff461c2cdf58eb5 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/5pkgs/default.nix')
-rw-r--r-- | krebs/5pkgs/default.nix | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index c48c3dee8..a8a1b5853 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -3,28 +3,15 @@ with import ../4lib { inherit lib; }; let - inherit (pkgs) callPackage; + subdirs = mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.); + pkgs' = pkgs // subdirs; 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 {}; +subdirs // rec { + + push = pkgs'.callPackage ./push { + inherit (subdirs) get jq; + }; execve = name: { filename, argv, envp ? {}, destination ? "" }: writeC name { inherit destination; } '' |