haskellPackages.*: enable packages that build on aarch64-darwin (#513246)

This commit is contained in:
Wolfgang Walther
2026-05-08 10:51:18 +00:00
committed by GitHub
7 changed files with 14 additions and 86 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ stdenv.mkDerivation (finalAttrs: {
"dbusmenu-jsonloader-0.4"
]
++ lib.optional (gtkVersion == "3") "dbusmenu-gtk${gtkVersion}-0.4";
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.msteen ];
};
})
+1 -1
View File
@@ -73,6 +73,6 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://gitlab.gnome.org/GNOME/libgit2-glib";
license = lib.licenses.lgpl21Plus;
teams = [ lib.teams.gnome ];
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
};
})
@@ -134,8 +134,6 @@ self: super:
+ (oldAttrs.preCompileBuildDriver or "");
}) super.llvm-hs;
sym = markBroken super.sym;
yesod-core = super.yesod-core.overrideAttrs (drv: {
# Allow access to local networking when the Darwin sandbox is enabled, so yesod-core can
# run tests that access localhost.
@@ -5571,7 +5571,6 @@ broken-packages:
- sdl2-compositor # failure in job https://hydra.nixos.org/build/233198910 at 2023-09-02
- sdl2-fps # failure in job https://hydra.nixos.org/build/233195346 at 2023-09-02
- sdl2-image # failure in job https://hydra.nixos.org/build/233216837 at 2023-09-02
- sdl2-mixer # failure in job https://hydra.nixos.org/build/233228951 at 2023-09-02
- sdp # failure in job https://hydra.nixos.org/build/233246702 at 2023-09-02
- sdr # failure in job https://hydra.nixos.org/build/243807383 at 2024-01-01
- seacat # failure in job https://hydra.nixos.org/build/233229959 at 2023-09-02
@@ -7120,7 +7119,6 @@ broken-packages:
- vty-examples # failure in job https://hydra.nixos.org/build/233235872 at 2023-09-02
- vty-menu # failure in job https://hydra.nixos.org/build/233232391 at 2023-09-02
- vty-ui # failure in job https://hydra.nixos.org/build/233200900 at 2023-09-02
- vulkan-utils # failure in job https://hydra.nixos.org/build/307522991 at 2025-09-19
- wacom-daemon # failure in job https://hydra.nixos.org/build/233213077 at 2023-09-02
- waddle # failure in job https://hydra.nixos.org/build/233239973 at 2023-09-02
- wai-control # failure in job https://hydra.nixos.org/build/295098171 at 2025-04-22
@@ -7309,7 +7307,6 @@ broken-packages:
- xenstore # failure in job https://hydra.nixos.org/build/233234469 at 2023-09-02
- xfconf # failure in job https://hydra.nixos.org/build/233234800 at 2023-09-02
- xformat # failure in job https://hydra.nixos.org/build/233211918 at 2023-09-02
- xgboost-haskell # failure in job https://hydra.nixos.org/build/295098374 at 2025-04-22
- xhaskell-library # failure in job https://hydra.nixos.org/build/233221178 at 2023-09-02
- xhb # failure in job https://hydra.nixos.org/build/233204853 at 2023-09-02
- xilinx-lava # failure in job https://hydra.nixos.org/build/233247659 at 2023-09-02
@@ -670,7 +670,6 @@ unsupported-platforms:
Allure: [ platforms.darwin ]
bdcs-api: [ platforms.darwin ]
bindings-directfb: [ platforms.darwin ]
bindings-sane: [ platforms.darwin ]
bustle: [ platforms.darwin ] # uses glibc-specific ptsname_r
bytelog: [ platforms.darwin ] # due to posix-api
camfort: [ aarch64-linux ]
@@ -684,27 +683,18 @@ unsupported-platforms:
Euterpea: [ platforms.darwin ]
follow-file: [ platforms.darwin ]
freenect: [ platforms.darwin ]
FTGL: [ platforms.darwin ]
fuzzytime: [ platforms.darwin ] # https://github.com/kamwitsta/fuzzytime/issues/2
ghc-gc-hook: [ platforms.darwin ] # requires C11 threads which Apple doesn't support
gi-adwaita: [ platforms.darwin ]
gi-dbusmenu: [ platforms.darwin ]
gi-dbusmenugtk3: [ platforms.darwin ]
gi-ggit: [ platforms.darwin ]
gi-gtk-layer-shell: [ platforms.darwin ] # depends on gtk-layer-shell which is not supported on darwin
gi-ibus: [ platforms.darwin ]
gi-javascriptcore: [ platforms.darwin ] # webkitgtk marked broken on darwin
gi-ostree: [ platforms.darwin ]
gi-vte: [ platforms.darwin ]
gi-webkit2: [ platforms.darwin ] # webkitgtk marked broken on darwin
gi-webkit2webextension: [ platforms.darwin ] # webkitgtk marked broken on darwin
gi-wnck: [ platforms.darwin ]
gl: [ platforms.darwin ] # depends on mesa
GLHUI: [ platforms.darwin ] # depends on mesa
gnome-keyring: [ platforms.darwin ]
grid-proto: [ platforms.darwin ]
gtk-sni-tray: [ platforms.darwin ]
h-raylib: [ platforms.darwin ] # depends on mesa
haskell-snake: [ platforms.darwin ]
hcwiid: [ platforms.darwin ]
HDRUtils: [ platforms.darwin ]
@@ -717,7 +707,6 @@ unsupported-platforms:
jsaddle-webkit2gtk: [ platforms.darwin ]
Kulitta: [ platforms.darwin ] # depends on Euterpea
LambdaHack: [ platforms.darwin ]
libmodbus: [ platforms.darwin ]
libsystemd-journal: [ platforms.darwin ]
libtelnet: [ platforms.darwin ]
libvirt-hs: [ platforms.darwin ] # spidermonkey is not supported on darwin
@@ -726,18 +715,16 @@ unsupported-platforms:
lio-fs: [ platforms.darwin ]
logging-facade-journald: [ platforms.darwin ]
longshot: [ aarch64-linux ]
mpi-hs-binary: [ aarch64-linux, platforms.darwin ]
mpi-hs-cereal: [ aarch64-linux, platforms.darwin ]
mpi-hs-binary: [ aarch64-linux ]
mpi-hs-cereal: [ aarch64-linux ]
mpi-hs-store: [ aarch64-linux, platforms.darwin ]
mpi-hs: [ aarch64-linux, platforms.darwin ]
mpi-hs: [ aarch64-linux ]
mplayer-spot: [ aarch64-linux, platforms.darwin ]
mptcp-pm: [ platforms.darwin ]
netlink: [ platforms.darwin ]
network-unexceptional: [ platforms.darwin ] # depends on posix-api
notifications-tray-icon: [ platforms.darwin ] # depends on gi-dbusmenu
oculus: [ platforms.darwin ]
ostree-pin: [ platforms.darwin ] # depends on gi-ostree
pam: [ platforms.darwin ]
parport: [ platforms.darwin ]
persist-state: [ aarch64-linux, armv7l-linux ] # https://github.com/minad/persist-state/blob/6fd68c0b8b93dec78218f6d5a1f4fa06ced4e896/src/Data/PersistState.hs#L122-L128
piyo: [ platforms.darwin ]
@@ -749,14 +736,8 @@ unsupported-platforms:
reactive-balsa: [ platforms.darwin ] # depends on alsa-core
reflex-dom-fragment-shader-canvas: [ platforms.darwin, aarch64-linux ]
reflex-localize-dom: [ platforms.darwin, aarch64-linux ]
rtlsdr: [ platforms.darwin ]
rubberband: [ platforms.darwin ]
SDL-mixer: [ platforms.darwin ] # depends on mesa
SDL-mpeg: [ platforms.darwin ] # depends on mesa
sdl2-mixer: [ platforms.darwin ]
sdl2-ttf: [ platforms.darwin ]
sdr: [ platforms.darwin ] # depends on rtlsdr
sensei: [ platforms.darwin ]
sockets: [ platforms.darwin ] # depends on posix-api
spade: [ platforms.darwin ] # depends on sdl2-mixer, which doesn't work on darwin
synthesizer-alsa: [ platforms.darwin ]
@@ -766,14 +747,12 @@ unsupported-platforms:
twirl: [ platforms.darwin ] # depends on sdl2-mixer
Unixutils-shadow: [ platforms.darwin ]
verifiable-expressions: [ aarch64-linux ]
vrpn: [ platforms.darwin ]
vulkan-utils: [ platforms.darwin ]
vulkan: [ i686-linux, armv7l-linux, platforms.darwin ]
VulkanMemoryAllocator: [ i686-linux, armv7l-linux, platforms.darwin ]
vulkan: [ i686-linux, armv7l-linux ]
VulkanMemoryAllocator: [ i686-linux, armv7l-linux ]
webkit2gtk3-javascriptcore: [ platforms.darwin ]
wiringPi: [ aarch64-darwin ]
xattr: [ platforms.darwin ]
xgboost-haskell: [ aarch64-linux, armv7l-linux, platforms.darwin ]
xgboost-haskell: [ aarch64-linux, armv7l-linux ]
xmobar: [ platforms.darwin ]
xmonad-extras: [ platforms.darwin ]
xmonad-volume: [ platforms.darwin ]
@@ -791,9 +770,6 @@ supported-platforms:
blake3: [ platforms.x86 ] # uses x86 intrinsics
btrfs: [ platforms.linux ] # depends on linux
bytepatch: [ platforms.x86 ] # due to blake3
cpuid: [ platforms.x86 ] # needs to be i386 compatible (IA-32)
cpython: [ platforms.x86 ] # c2hs errors on glibc headers
crc32c: [ platforms.x86 ] # uses x86 intrinsics
d3d11binding: [ platforms.windows ]
DirectSound: [ platforms.windows ]
dx9base: [ platforms.windows ]
@@ -804,8 +780,6 @@ supported-platforms:
evdev: [ platforms.linux ]
geomancy-layout: [ platforms.x86 ] # x86 intrinsics
geomancy: [ platforms.x86 ] # x86 intrinsics
ghcjs-base: [ javascript-ghcjs ]
ghcjs-dom-javascript: [ javascript-ghcjs ]
gi-gtkosxapplication: [ platforms.darwin ]
gtk-mac-integration: [ platforms.darwin ]
gtk3-mac-integration: [ platforms.darwin ]
@@ -841,7 +815,6 @@ supported-platforms:
midi-alsa: [ platforms.linux ] # alsa-core only supported on linux
midisurface: [ platforms.linux ] # alsa-core only supported on linux
miso-action-logger: [ javascript-ghcjs ] # https://github.com/Lermex/miso-action-logger/issues/1
miso-examples: [ javascript-ghcjs ]
OrderedBits: [ platforms.x86 ] # lacks implementations for non-x86: https://github.com/choener/OrderedBits/blob/401cbbe933b1635aa33e8e9b29a4a570b0a8f044/lib/Data/Bits/Ordered.hs#L316
reactivity: [ platforms.windows ]
reflex-libtelnet: [ platforms.linux ] # pkgs.libtelnet only supports linux
@@ -1204,7 +1204,6 @@ dont-distribute-packages:
- graphicstools
- graphtype
- greencard-lib
- grid-proto
- gridbounds
- gridland
- gross
@@ -3250,7 +3249,6 @@ dont-distribute-packages:
- source-code-server
- SourceGraph
- SpacePrivateers
- spade
- sparkle
- sparrow
- sparsebit
+6 -44
View File
@@ -12647,7 +12647,6 @@ self: {
librarySystemDepends = [ ftgl ];
description = "Portable TrueType font rendering for OpenGL using the Freetype2 library";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) ftgl; };
@@ -39157,7 +39156,6 @@ self: {
librarySystemDepends = [ SDL_mixer ];
description = "Binding to libSDL_mixer";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) SDL_mixer; };
@@ -39180,7 +39178,6 @@ self: {
librarySystemDepends = [ smpeg ];
description = "Binding to the SMPEG library";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) smpeg; };
@@ -46378,8 +46375,7 @@ self: {
badPlatforms = [
"i686-linux"
"armv7l-linux"
]
++ lib.platforms.darwin;
];
}
) { };
@@ -106984,7 +106980,6 @@ self: {
libraryPkgconfigDepends = [ sane-backends ];
description = "FFI bindings to libsane";
license = lib.licenses.lgpl3Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) sane-backends; };
@@ -168010,7 +168005,6 @@ self: {
];
description = "Binding for the cpuid machine instruction on x86 compatible processors";
license = lib.meta.getLicenseFromSpdxId "GPL-2.0-only";
platforms = lib.platforms.x86;
}
) { };
@@ -168090,7 +168084,6 @@ self: {
testPkgconfigDepends = [ python3 ];
description = "Bindings for libpython";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.x86;
maintainers = [ lib.maintainers.sheepforce ];
}
) { inherit (pkgs) python3; };
@@ -169368,7 +169361,6 @@ self: {
];
description = "crc32c";
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
platforms = lib.platforms.x86;
}
) { };
@@ -268293,7 +268285,6 @@ self: {
sha256 = "081w3234jramsmafnl86v37lwbckr2vc93gr9pdwc31yzni9kbml";
description = "base library for GHCJS";
license = lib.meta.getLicenseFromSpdxId "MIT";
platforms = [ "javascript-ghcjs" ];
maintainers = [ lib.maintainers.alexfmpe ];
}
) { };
@@ -268425,7 +268416,6 @@ self: {
sha256 = "1k62w5czg544ias8q2kvhp8qnlafzisgx1p0gq8d2kh662w99kcg";
description = "DOM library using JSFFI and GHCJS";
license = lib.meta.getLicenseFromSpdxId "MIT";
platforms = [ "javascript-ghcjs" ];
maintainers = [ lib.maintainers.alexfmpe ];
}
) { };
@@ -269237,7 +269227,6 @@ self: {
libraryPkgconfigDepends = [ libadwaita ];
description = "Adwaita bindings";
license = lib.licenses.lgpl21Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) libadwaita; };
@@ -269730,7 +269719,6 @@ self: {
libraryPkgconfigDepends = [ libdbusmenu ];
description = "Dbusmenu bindings";
license = lib.licenses.lgpl21Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) libdbusmenu; };
@@ -269797,7 +269785,6 @@ self: {
];
description = "DbusmenuGtk bindings";
license = lib.licenses.lgpl21Only;
badPlatforms = lib.platforms.darwin;
}
)
{
@@ -270279,7 +270266,6 @@ self: {
libraryPkgconfigDepends = [ libgit2-glib ];
description = "libgit2-glib bindings";
license = lib.licenses.lgpl21Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) libgit2-glib; };
@@ -272720,7 +272706,6 @@ self: {
libraryPkgconfigDepends = [ vte ];
description = "Vte bindings";
license = lib.licenses.lgpl21Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) vte; };
@@ -277451,7 +277436,6 @@ self: {
librarySystemDepends = [ libGL ];
description = "Complete OpenGL raw bindings";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) libGL; };
@@ -280411,7 +280395,6 @@ self: {
libraryToolDepends = [ c2hs ];
description = "Bindings for libgnome-keyring";
license = lib.licenses.gpl3Only;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) libgnome-keyring; };
@@ -289742,7 +289725,6 @@ self: {
description = "Game engine for Prototyping on a Grid";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
}
) { };
@@ -293638,7 +293620,6 @@ self: {
];
description = "Raylib bindings for Haskell";
license = lib.meta.getLicenseFromSpdxId "Apache-2.0";
badPlatforms = lib.platforms.darwin;
}
)
{
@@ -426729,7 +426710,6 @@ self: {
librarySystemDepends = [ modbus ];
description = "Haskell bindings to the C modbus library";
license = lib.licenses.bsd2;
badPlatforms = lib.platforms.darwin;
}
) { modbus = null; };
@@ -461410,7 +461390,6 @@ self: {
isExecutable = true;
description = "A tasty Haskell front-end web framework";
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
platforms = [ "javascript-ghcjs" ];
}
) { };
@@ -472641,7 +472620,7 @@ self: {
testPkgconfigDepends = [ ompi ];
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
badPlatforms = [ "aarch64-linux" ];
maintainers = [ lib.maintainers.sheepforce ];
}
) { ompi = null; };
@@ -472675,7 +472654,7 @@ self: {
testHaskellDepends = [ base ];
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
badPlatforms = [ "aarch64-linux" ];
maintainers = [ lib.maintainers.sheepforce ];
}
) { };
@@ -472709,7 +472688,7 @@ self: {
testHaskellDepends = [ base ];
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
badPlatforms = [ "aarch64-linux" ];
maintainers = [ lib.maintainers.sheepforce ];
}
) { };
@@ -494181,7 +494160,6 @@ self: {
tuple
];
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
mainProgram = "notifications-tray-icon";
broken = true;
@@ -512386,7 +512364,6 @@ self: {
libraryToolDepends = [ c2hs ];
description = "Haskell binding for C PAM API";
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) pam; };
@@ -596286,7 +596263,6 @@ self: {
libraryToolDepends = [ c2hs ];
description = "Bindings to librtlsdr";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
) { inherit (pkgs) rtl-sdr; };
@@ -607052,9 +607028,6 @@ self: {
executablePkgconfigDepends = [ SDL2_mixer ];
description = "Haskell bindings to SDL2_mixer";
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
broken = true;
}
) { inherit (pkgs) SDL2_mixer; };
@@ -607132,7 +607105,6 @@ self: {
];
description = "Bindings to SDL2_ttf";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
}
)
{
@@ -609933,7 +609905,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Automatically run Hspec tests on file modifications";
license = lib.licenses.mit;
badPlatforms = lib.platforms.darwin;
maintainers = [ lib.maintainers.libjared ];
}
) { };
@@ -642413,7 +642384,6 @@ self: {
description = "A simple programming and debugging environment";
license = lib.meta.getLicenseFromSpdxId "GPL-3.0-only";
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
mainProgram = "spade";
}
) { };
@@ -734326,7 +734296,6 @@ self: {
];
description = "Bindings to VRPN";
license = lib.licenses.mit;
badPlatforms = lib.platforms.darwin;
mainProgram = "test-vrpn";
}
)
@@ -734993,8 +734962,7 @@ self: {
badPlatforms = [
"i686-linux"
"armv7l-linux"
]
++ lib.platforms.darwin;
];
}
) { inherit (pkgs) vulkan-loader; };
@@ -735068,9 +735036,6 @@ self: {
];
description = "Utils for the vulkan package";
license = lib.licenses.bsd3;
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
broken = true;
}
) { };
@@ -754999,11 +754964,8 @@ self: {
badPlatforms = [
"aarch64-linux"
"armv7l-linux"
]
++ lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
];
mainProgram = "xgb-agaricus";
broken = true;
}
) { inherit (pkgs) xgboost; };