proj: move CXXFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-15 19:56:53 +01:00
parent aa81bc0500
commit f2d92cc9ba
+4 -2
View File
@@ -59,9 +59,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DNLOHMANN_JSON_ORIGIN=external"
"-DEXE_SQLITE3=${buildPackages.sqlite}/bin/sqlite3"
];
CXXFLAGS = [
env.CXXFLAGS = toString [
# GCC 13: error: 'int64_t' in namespace 'std' does not name a type
"-include cstdint"
"-include"
"cstdint"
];
preCheck =