Skip to content

Commit

Permalink
treewide: mark packages broken that never built on PLATFORM
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mindavi committed Dec 13, 2022
1 parent 66949e3 commit 9833d56
Show file tree
Hide file tree
Showing 120 changed files with 240 additions and 8 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/accessibility/contrast/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}

2 changes: 2 additions & 0 deletions pkgs/applications/audio/cardinal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.all;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/audio/chuck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ ftrvxmtrx ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/audio/snapcast/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ fpletz ];
platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl3Plus;
# never built on x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isx86_64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/blockchains/haven-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@ stdenv.mkDerivation rec {
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ kim0 ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/blockchains/solana-validator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ rustPlatform.buildRustPackage rec {
license = licenses.asl20;
maintainers = with maintainers; [ adjacentresearch ];
platforms = platforms.unix;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
passthru.updateScript = ./update.sh;
}
2 changes: 2 additions & 0 deletions pkgs/applications/editors/xedit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ stdenv.mkDerivation rec {
license = with licenses; [ mit ];
maintainers = with maintainers; [ shamilton ];
platforms = platforms.unix;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/dia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ raskin ];
license = licenses.gpl2;
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/foxotron/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,7 @@ stdenv.mkDerivation rec {
license = licenses.unlicense;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/graphics/symbolic-preview/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ qyliss ];
license = licenses.gpl3Plus;
platforms = platforms.unix;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/misc/gnome-extension-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ foo-dogsquared ];
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/misc/oneko/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ stdenv.mkDerivation rec {
license = with licenses; [ publicDomain ];
maintainers = with maintainers; [ xaverdh irenes ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/misc/openbangla-keyboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hqurve ];
platforms = platforms.linux;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/networking/cluster/docker-machine/xhyve.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ buildGoPackage rec {
license = licenses.bsd3;
maintainers = with maintainers; [ periklis ];
platforms = platforms.darwin;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ stdenv.mkDerivation rec {
};

meta = {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "Kotatogram – experimental Telegram Desktop fork";
longDescription = ''
Unofficial desktop client for the Telegram messenger, based on Telegram Desktop.
Expand All @@ -229,5 +228,7 @@ stdenv.mkDerivation rec {
homepage = "https://kotatogram.github.io";
changelog = "https://github.com/kotatogram/kotatogram-desktop/releases/tag/k{version}";
maintainers = with maintainers; [ ilya-fedin ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64);
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Only;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/networking/mailreaders/sylpheed/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ eelco ];
platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl2;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/networking/sync/lsyncd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ bobvanderlinden ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/networking/umurmur/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ stdenv.mkDerivation rec {
license = licenses.bsd3;
homepage = "https://github.com/umurmur/umurmur";
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/radio/m17-cxx-demod/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = teams.c3d2.members;
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/science/astronomy/xearth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.mafo ];
license = "xearth";
platforms=platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};

}
2 changes: 2 additions & 0 deletions pkgs/applications/science/chemistry/gwyddion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2;
platforms = with lib.platforms; linux ++ darwin;
maintainers = [ lib.maintainers.cge ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
3 changes: 2 additions & 1 deletion pkgs/applications/science/physics/nnpdf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ stdenv.mkDerivation rec {
];

meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "An open-source machine learning framework for global analyses of parton distributions";
homepage = "https://docs.nnpdf.science/";
license = licenses.gpl3Only;
maintainers = [ maintainers.veprbl ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64);
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/science/physics/sacrifice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ stdenv.mkDerivation {
homepage = "https://agile.hepforge.org/trac/wiki/Sacrifice";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ veprbl ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/science/physics/sherpa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/sherpa-team/sherpa";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/version-management/got/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ stdenv.mkDerivation rec {
license = licenses.isc;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ abbe afh ];
# never built on x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isx86_64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/video/motion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ puffnfresh veprbl ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/video/obs-studio/plugins/input-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ glittershark ];
license = licenses.gpl2;
platforms = platforms.linux;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/video/olive-editor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3;
maintainers = [ maintainers.balsoft ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/video/openshot-qt/libopenshot-audio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ stdenv.mkDerivation rec {
license = with licenses; gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/applications/virtualization/xhyve/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.lnl7 ];
license = licenses.bsd2;
platforms = platforms.darwin;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/cakelisp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.darwin ++ platforms.linux;
maintainers = [ maintainers.sbond75 ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/ecl/16.1.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,7 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
3 changes: 2 additions & 1 deletion pkgs/development/compilers/inform7/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ in stdenv.mkDerivation {
'';

meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64);
description = "A design system for interactive fiction";
homepage = "http://inform7.com/";
license = licenses.artistic2;
maintainers = with maintainers; [ mbbx6spp ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64);
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/10/lldb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ stdenv.mkDerivation (rec {
larger LLVM Project, such as the Clang expression parser and LLVM
disassembler.
'';
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
} // lib.optionalAttrs enableManpages {
pname = "lldb-manpages";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/5/lldb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@ stdenv.mkDerivation rec {
larger LLVM Project, such as the Clang expression parser and LLVM
disassembler.
'';
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/6/lldb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@ stdenv.mkDerivation rec {
larger LLVM Project, such as the Clang expression parser and LLVM
disassembler.
'';
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/7/lldb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,7 @@ stdenv.mkDerivation rec {
larger LLVM Project, such as the Clang expression parser and LLVM
disassembler.
'';
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/polyml/5.7.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21;
platforms = with platforms; (linux ++ darwin);
maintainers = with maintainers; [ maggesi ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/smlnj/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,7 @@ in stdenv.mkDerivation {
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ thoughtpolice ];
mainProgram = "sml";
# never built on x86_64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isx86_64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/compilers/terra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@ in stdenv.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ jb55 seylerius thoughtpolice elliottslaughter ];
license = licenses.mit;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/interpreters/bic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/hexagonal-sun/bic";
platforms = platforms.unix;
maintainers = with maintainers; [ hexagonal-sun ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/libraries/classads/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ stdenv.mkDerivation rec {
description = "The Classified Advertisements library provides a generic means for matching resources";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/libraries/enchant/1.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
badPlatforms = [ "x86_64-darwin" ];
license = licenses.lgpl21;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/libraries/garmintools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2;
maintainers = [ ];
platforms = lib.platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}
2 changes: 2 additions & 0 deletions pkgs/development/libraries/gcc/libstdc++/5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,7 @@ stdenv.mkDerivation rec {
description = "GNU Compiler Collection, version ${version} -- C++ standard library";
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
};
}
Loading

0 comments on commit 9833d56

Please sign in to comment.