1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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 = {
# Needed for Meson to find Boost.
# https://github.com/NixOS/nixpkgs/issues/86131.