From 521f74a4fe4635fc9b7366ac928c5066626496d1 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 15 Oct 2015 01:59:40 +0200 Subject: krebs pkgs: allow recursive pkgs --- krebs/5pkgs/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'krebs') 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; } '' -- cgit v1.2.3