summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-15 01:59:40 +0200
committertv <tv@shackspace.de>2015-10-15 01:59:40 +0200
commit521f74a4fe4635fc9b7366ac928c5066626496d1 (patch)
tree7fceedd8d98eef340d611e1aee9be41b7aaea10c /krebs/5pkgs
parentce86a988c11fe3077da439672b8a462cec61bcd4 (diff)
krebs pkgs: allow recursive pkgs
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index 83cca961e..9b059f046 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -2,7 +2,12 @@
with import ../4lib { inherit lib; };
-mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.) // rec {
+let
+ subdirs = mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.);
+ pkgs' = pkgs // subdirs;
+in
+
+subdirs // rec {
execve = name: { filename, argv, envp ? {}, destination ? "" }:
writeC name { inherit destination; } ''