haskellPackages.OrderedBits: restrict to x86 platforms

Suggested in https://github.com/NixOS/nixpkgs/pull/202240.
This commit is contained in:
sternenseemann 2022-11-22 18:17:47 +01:00
parent 2fccb31598
commit 58b8532158
2 changed files with 2 additions and 0 deletions

View file

@ -584,6 +584,7 @@ supported-platforms:
linux-namespaces: [ platforms.linux ]
lxc: [ platforms.linux ]
midi-alsa: [ platforms.linux ]
OrderedBits: [ platforms.x86 ] # lacks implementations for non-x86: https://github.com/choener/OrderedBits/blob/401cbbe933b1635aa33e8e9b29a4a570b0a8f044/lib/Data/Bits/Ordered.hs#L316
password: [ platforms.x86 ] # uses scrypt, which requries x86
password-instances: [ platforms.x86 ] # uses scrypt, which requries x86
reactivity: [ platforms.windows ]

View file

@ -15824,6 +15824,7 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Efficient ordered (by popcount) enumeration of bits";
license = lib.licenses.bsd3;
platforms = lib.platforms.x86;
}) {};
"Ordinals" = callPackage