Force the cpuid option for libutil rather than relying on detection

This is more robust, and match's Nixpkgs policy to force enable flags
statically by default (a common distro thing).
This commit is contained in:
John Ericson 2024-06-13 17:46:10 -04:00
parent 2f5fdab06c
commit ea8e49bea5

View file

@ -102,6 +102,10 @@ mkDerivation (finalAttrs: {
'' ''
); );
mesonFlags = [
(lib.mesonEnable "cpuid" stdenv.hostPlatform.isx86_64)
];
env = { env = {
# Needed for Meson to find Boost. # Needed for Meson to find Boost.
# https://github.com/NixOS/nixpkgs/issues/86131. # https://github.com/NixOS/nixpkgs/issues/86131.