Skip to content

Commit

Permalink
pkgs(soundfonts/*): meta.broken -> preferLocalBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Oct 30, 2023
1 parent 681c1cf commit a76ed73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# package outputs in your package set. These are what gets built by CI,
# so if you correctly mark packages as
#
# - broken (using `meta.broken`),
# - unfree (using `meta.license.free`), and
# - broken (using `meta.broken`), and
# - locally built (using `preferLocalBuild`)
#
# then your CI will be able to build and cache only those packages for
Expand All @@ -15,8 +14,7 @@ with builtins;
let
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
isDerivation = p: isAttrs p && p ? type && p.type == "derivation";
# isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or true;
isBuildable = p: !(p.meta.broken or false) && !p.meta.binary or true;
isBuildable = p: !(p.meta.broken or false);
isCacheable = p: !(p.preferLocalBuild or false);
shouldRecurseForDerivations = p: isAttrs p && p.recurseForDerivations or false;

Expand Down
3 changes: 2 additions & 1 deletion pkgs/soundfonts/arachno.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ stdenvNoCC.mkDerivation rec {
homepage = "http://www.arachnosoft.com/main/soundfont.php";
license = licenses.unfree;
platforms = platforms.all;
binary = true;
};

preferLocalBuild = true;
}
3 changes: 2 additions & 1 deletion pkgs/soundfonts/touhou.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://musical-artifacts.com/artifacts/433";
license = licenses.cc-by-40;
platforms = platforms.all;
binary = true;
};

preferLocalBuild = true;
}

0 comments on commit a76ed73

Please sign in to comment.