diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-11-22 18:17:47 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-11-22 18:17:47 +0100 |
commit | 58b8532158c7e4757a01b5dddb498bb0b1cb4c96 (patch) | |
tree | f5f45c5d228e273f4567f031356db9434388dfba | |
parent | 2fccb31598aa0e858ccf9eaea369a720294099b7 (diff) | |
download | nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar.gz nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar.bz2 nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar.lz nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar.xz nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.tar.zst nixlib-58b8532158c7e4757a01b5dddb498bb0b1cb4c96.zip |
haskellPackages.OrderedBits: restrict to x86 platforms
Suggested in https://github.com/NixOS/nixpkgs/pull/202240.
-rw-r--r-- | pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml | 1 | ||||
-rw-r--r-- | pkgs/development/haskell-modules/hackage-packages.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 8e9df640f283..0013b03fba16 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -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 ] diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index c59b9a07e33f..524208077119 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -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 |