1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

haskellPackages.hw-prim-bits: restrict to x86

Requires x86 assembler, so no luck building it anywhere else.
This commit is contained in:
sternenseemann 2021-05-18 17:48:31 +02:00
parent a9a5465f84
commit cbaa1c8a59

View file

@ -798,4 +798,9 @@ self: super: builtins.intersectAttrs super {
inline-asm = overrideCabal super.inline-asm {
platforms = pkgs.lib.platforms.isx86;
};
# uses x86 assembler in C bits
hw-prim-bits = overrideCabal super.hw-prim-bits {
platforms = pkgs.lib.platforms.x86;
};
}