diff --git a/hydra.nix b/hydra.nix index 24c3d03f..ee8b3110 100644 --- a/hydra.nix +++ b/hydra.nix @@ -6,7 +6,7 @@ notBroken = pkg: !(pkg.meta.broken or false); isDistributable = pkg: (pkg.meta.license or {redistributable = true;}).redistributable; - hasPlatform = sys: pkg: lib.elem sys (pkg.meta.platforms or []); + hasPlatform = sys: pkg: lib.elem sys (pkg.meta.platforms or [sys]); filterValidPkgs = sys: pkgs: lib.filterAttrs (_: pkg: hasPlatform sys pkg && notBroken pkg && isDistributable pkg) pkgs; getConfigTopLevel = (_: cfg: cfg.config.system.build.toplevel);