mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00: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:
parent
2f5fdab06c
commit
ea8e49bea5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user