mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
d2367c3f7e
This splits the 3rdparty drivers into seperate packages as recommended by upstream. This also allows to build a indi-full equivalent with only the needed drivers. Also add indi-full-nonfree with all the nonfree drivers. And remove them from indi-full.
16 lines
297 B
Nix
16 lines
297 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
indi-3rdparty,
|
|
indilib,
|
|
indi-with-drivers,
|
|
}:
|
|
|
|
indi-with-drivers.override {
|
|
pname = "indi-full-nonfree";
|
|
inherit (indilib) version;
|
|
extraDrivers = builtins.filter (attrs: lib.meta.availableOn stdenv.hostPlatform attrs) (
|
|
builtins.attrValues indi-3rdparty
|
|
);
|
|
}
|