mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02: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
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue