Open TerrorJack opened 1 month ago
This might be a non-issue, see https://github.com/NixOS/nixpkgs/issues/318321#issuecomment-2156602703, feel free to close this one, though it would be better if someone familiar with nixpkgs internal to actually confirm.
If we need to add this configuration-nix.nix would be the place to put it.
hashable-1.4.5.0
has been released recently and has already been included in the lasthackage.nix
and stackage nightly revision. This package now vendorsxxhash
and includes a package flagarch-native
to pass-march=native
to C compiler to harvest SIMD speedup. Andarch-native
defaults toTrue
, which will cause the nix build artifacts to silently depend on CPU models of the nix builders, causing potential run-time crash on machines with older CPU models and breaking nix build purity silently.I believe
haskell.nix
hashackage-quirks.nix
that enables overriding default package flags for hackage packages, andarch-native: False
should be enforced forhashable >= 1.4.5.0
.Related upstream issue (closed by maintainer): https://github.com/haskell-unordered-containers/hashable/issues/308