mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
make hydra build when platforms is []
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user