rPackages.metahdep: fix build

This commit is contained in:
László Kupcsik
2025-03-05 22:25:44 +01:00
parent 79bc0ef8fe
commit 4c5b9debbd
+8
View File
@@ -1330,6 +1330,14 @@ let
'';
});
metahdep = old.metahdep.overrideAttrs (attrs: {
env = (attrs.env or { }) // {
# Avoid incompatible pointer type error
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -Wno-int-conversion";
};
});
ModelMetrics = old.ModelMetrics.overrideAttrs (attrs: {
env = (attrs.env or { }) // {
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + lib.optionalString stdenv.hostPlatform.isDarwin " -fopenmp";