diff options
author | tv <tv@shackspace.de> | 2015-10-15 01:59:40 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-15 01:59:40 +0200 |
commit | 521f74a4fe4635fc9b7366ac928c5066626496d1 (patch) | |
tree | 7fceedd8d98eef340d611e1aee9be41b7aaea10c /krebs | |
parent | ce86a988c11fe3077da439672b8a462cec61bcd4 (diff) |
krebs pkgs: allow recursive pkgs
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/5pkgs/default.nix | 7 |
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; } '' |