summary refs log tree commit diff
path: root/pkgs/misc/emulators/wine/util.nix
blob: b90a68e72df519ff673939f0001dfa647854e389 (plain) (blame)
1
2
3
4
5
6
7
8
9
{ lib }:
rec {
  toPackages = pkgNames: pkgs:
    map (pn: lib.getAttr pn pkgs) pkgNames;
  toBuildInputs = pkgArches: archPkgs:
    lib.concatLists (map archPkgs pkgArches);  
  mkBuildInputs = pkgArches: pkgNames:
    toBuildInputs pkgArches (toPackages pkgNames);
}