diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2022-12-06 21:47:40 +0100 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-12-13 21:40:12 +0100 |
commit | 9833d56c2483c3635339b1636dee61b52e3378fc (patch) | |
tree | 67924c957907afc52f4cebada0340d582850e67d /pkgs/development/libraries/gmp | |
parent | 66949e33a4e7d2480ebdf7bfc2c6f4b24f06e9d9 (diff) |
treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken Tool is still WIP but this is one of the first results. I manually audited the results and removed some results that were not valid. Note that some of these packages maybe should have more constrained platforms set instead of broken set, but I think not being perfectly correct is better than just keep trying to build all these things and never succeeding. Some observations: - Some darwin builds require XCode tools - aarch64-linux builds sometimes suffer from using gcc9 - gcc9 is getting older and misses some new libraries/features - Sometimes tools try to do system detection or expect some explicit settings for platforms that are not x86_64-linux
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r-- | pkgs/development/libraries/gmp/4.3.2.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/gmp/5.1.x.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gmp/4.3.2.nix b/pkgs/development/libraries/gmp/4.3.2.nix index 50e26b4c1327a..e809ed926edae 100644 --- a/pkgs/development/libraries/gmp/4.3.2.nix +++ b/pkgs/development/libraries/gmp/4.3.2.nix @@ -71,6 +71,8 @@ let self = stdenv.mkDerivation rec { maintainers = [ ]; platforms = lib.platforms.all; badPlatforms = [ "x86_64-darwin" ]; + # never built on aarch64-darwin, aarch64-linux since first introduction in nixpkgs + broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64); }; }; in self diff --git a/pkgs/development/libraries/gmp/5.1.x.nix b/pkgs/development/libraries/gmp/5.1.x.nix index c83a4785ebeac..e4fb89d054dae 100644 --- a/pkgs/development/libraries/gmp/5.1.x.nix +++ b/pkgs/development/libraries/gmp/5.1.x.nix @@ -80,6 +80,8 @@ let self = stdenv.mkDerivation rec { platforms = platforms.all; badPlatforms = [ "x86_64-darwin" ]; + # never built on aarch64-darwin since first introduction in nixpkgs + broken = stdenv.isDarwin && stdenv.isAarch64; }; }; in self |