From 3a5a22091e4c3ef127e212ab165dcbcdb9e3cbbc Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Sat, 9 Sep 2023 13:30:22 -0400 Subject: [PATCH] haskellPackages.hb3sum: only supported on x86 --- .../haskell-modules/configuration-hackage2nix/main.yaml | 2 +- pkgs/development/haskell-modules/hackage-packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index ab795c6e2c4..a633ce262d6 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -610,7 +610,6 @@ unsupported-platforms: gtk-sni-tray: [ platforms.darwin ] h-raylib: [ platforms.darwin ] # depends on mesa haskell-snake: [ platforms.darwin ] - hb3sum: [ aarch64-linux ] # depends on blake3, which is not supported on aarch64-linux hcwiid: [ platforms.darwin ] HDRUtils: [ platforms.darwin ] hidapi: [ platforms.darwin ] @@ -711,6 +710,7 @@ supported-platforms: gtk3-mac-integration: [ platforms.darwin ] halide-haskell: [ platforms.linux ] halide-JuicyPixels: [ platforms.linux ] + hb3sum: [ platforms.x86 ] # due to blake3 hommage-ds: [ platforms.windows ] hpapi: [ platforms.linux ] # limited by pkgs.papi hsignal: [ platforms.x86 ] # -msse2 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 341b072b950..49e94ec201e 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -139832,7 +139832,7 @@ self: { executableHaskellDepends = [ base blake3 bytestring mmap ]; description = "A command line tool to compute BLAKE3 hashes"; license = lib.licenses.agpl3Only; - badPlatforms = [ "aarch64-linux" ]; + platforms = lib.platforms.x86; mainProgram = "hb3sum"; }) {};