spral: move LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:30:35 +01:00
parent 1557a916a6
commit 5d35cfadb1
+3 -1
View File
@@ -67,7 +67,9 @@ stdenv.mkDerivation (finalAttrs: {
mesonFlags = [ (lib.mesonBool "tests" true) ];
LDFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [ "-lomp" ];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
LDFLAGS = "-lomp";
};
doCheck = true;