Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
24 lines
516 B
Nix
24 lines
516 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
indi-3rdparty,
|
|
indi-with-drivers,
|
|
indilib,
|
|
}:
|
|
|
|
let
|
|
licenseFree = p: p.meta.license.free or false;
|
|
isFree =
|
|
p:
|
|
(builtins.all licenseFree ((p.buildInputs or [ ]) ++ (p.propagatedBuildInputs or [ ])))
|
|
&& licenseFree p;
|
|
drivers = builtins.filter (
|
|
attrs: isFree attrs && (lib.meta.availableOn stdenv.hostPlatform attrs)
|
|
) (builtins.attrValues indi-3rdparty);
|
|
in
|
|
indi-with-drivers.override {
|
|
pname = "indi-full";
|
|
inherit (indilib) version;
|
|
extraDrivers = drivers;
|
|
}
|