krebs pkgs: allow recursive pkgs
This commit is contained in:
parent
ce86a988c1
commit
521f74a4fe
|
@ -2,7 +2,12 @@
|
||||||
|
|
||||||
with import ../4lib { inherit lib; };
|
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 ? "" }:
|
execve = name: { filename, argv, envp ? {}, destination ? "" }:
|
||||||
writeC name { inherit destination; } ''
|
writeC name { inherit destination; } ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user