2015-05-10 20:33:00 +01:00
|
|
|
{ lib }:
|
|
|
|
rec {
|
|
|
|
toPackages = pkgNames: pkgs:
|
|
|
|
map (pn: lib.getAttr pn pkgs) pkgNames;
|
|
|
|
toBuildInputs = pkgArches: archPkgs:
|
2021-01-21 00:55:55 +00:00
|
|
|
lib.concatLists (map archPkgs pkgArches);
|
2015-05-10 20:33:00 +01:00
|
|
|
mkBuildInputs = pkgArches: pkgNames:
|
|
|
|
toBuildInputs pkgArches (toPackages pkgNames);
|
|
|
|
}
|