haskellPackages.cpuid: set accurate meta.platform value
This commit is contained in:
parent
d1d0c73dfb
commit
8c6c17b84e
@ -872,4 +872,10 @@ self: super: builtins.intersectAttrs super {
|
|||||||
pkgs.darwin.apple_sdk.frameworks.IOKit
|
pkgs.darwin.apple_sdk.frameworks.IOKit
|
||||||
] ++ (drv.librarySystemDepends or []);
|
] ++ (drv.librarySystemDepends or []);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# set more accurate set of platforms instead of maintaining
|
||||||
|
# an ever growing list of platforms to exclude via unsupported-platforms
|
||||||
|
cpuid = overrideCabal super.cpuid {
|
||||||
|
platforms = pkgs.lib.platforms.x86;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user