3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.{blake3,seqalign,crc32c}: restrict platforms to x86

All of these packages use x86 intrinsics-related headers and don't
compile on non x86 platforms as a result.

These overrides should be refactored into the yaml configuration at some
point.

Resolves #122014.
This commit is contained in:
sternenseemann 2021-05-18 17:00:53 +02:00
parent a3fd86a3ba
commit d640ce886a

View file

@ -747,6 +747,21 @@ self: super: builtins.intersectAttrs super {
platforms = pkgs.lib.platforms.x86;
};
# uses x86 intrinsics
blake3 = overrideCabal super.blake3 {
platforms = pkgs.lib.platforms.x86;
};
# uses x86 intrinsics, see also https://github.com/NixOS/nixpkgs/issues/122014
crc32c = overrideCabal super.crc32c {
platforms = pkgs.lib.platforms.x86;
};
# uses x86 intrinsics
seqalign = overrideCabal super.seqalign {
platforms = pkgs.lib.platforms.x86;
};
hls-brittany-plugin = overrideCabal super.hls-brittany-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''