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