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