stargate-libcds: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-11 10:43:50 +01:00
parent efbfc9624d
commit a5c337dfc8
+6 -1
View File
@@ -17,7 +17,12 @@ stdenv.mkDerivation (finalAttrs: {
};
# Fix 'error: unrecognized command line option' in platforms other than x86
PLAT_FLAGS = lib.optionalString stdenv.hostPlatform.isx86_64 "-mfpmath=sse -mssse3";
env = lib.optionalAttrs stdenv.hostPlatform.isx86_64 {
PLAT_FLAGS = toString [
"-mfpmath=sse"
"-mssse3"
];
};
patches = [
# Remove unnecessary tests (valgrind, coverage)