about summary refs log tree commit diff
path: root/pkgs/tools/misc/usbimager/default.nix
diff options
context:
space:
mode:
authorRick van Schijndel <rol3517@gmail.com>2022-12-06 21:47:40 +0100
committerRick van Schijndel <Mindavi@users.noreply.github.com>2022-12-13 21:40:12 +0100
commit9833d56c2483c3635339b1636dee61b52e3378fc (patch)
tree67924c957907afc52f4cebada0340d582850e67d /pkgs/tools/misc/usbimager/default.nix
parent66949e33a4e7d2480ebdf7bfc2c6f4b24f06e9d9 (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/tools/misc/usbimager/default.nix')
-rw-r--r--pkgs/tools/misc/usbimager/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/usbimager/default.nix b/pkgs/tools/misc/usbimager/default.nix
index 095e6ac400842..6903039f6a5ce 100644
--- a/pkgs/tools/misc/usbimager/default.nix
+++ b/pkgs/tools/misc/usbimager/default.nix
@@ -43,5 +43,7 @@ stdenv.mkDerivation rec {
     # windows and darwin could work, but untested
     # feel free add them if you have a machine to test
     platforms = with platforms; linux;
+    # never built on aarch64-linux since first introduction in nixpkgs
+    broken = stdenv.isLinux && stdenv.isAarch64;
   };
 }