ergoscf: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 15:54:42 +01:00
parent aa591c65d9
commit ff8d9195bd
+5 -3
View File
@@ -35,13 +35,15 @@ stdenv.mkDerivation (finalAttrs: {
env = {
# Required for compilation with gcc-14
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
LDFLAGS = "-lblas -llapack";
LDFLAGS = toString [
"-lblas"
"-llapack"
];
OMP_NUM_THREADS = 2; # required for check phase
};
enableParallelBuilding = true;
OMP_NUM_THREADS = 2; # required for check phase
# With "fortify3", there are test failures, such as:
# Testing cnof CAMB3LYP/6-31G using FMM
# *** buffer overflow detected ***: terminated