diff --git a/pkgs/apps/adcc/default.nix b/pkgs/apps/adcc/default.nix index 22bf66c7..19a6ce80 100644 --- a/pkgs/apps/adcc/default.nix +++ b/pkgs/apps/adcc/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { setuptools ]; - NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds"; + env.NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds"; checkInputs = [ pytest pytest-cov ]; diff --git a/pkgs/apps/luscus/default.nix b/pkgs/apps/luscus/default.nix index 32a61a11..394fae34 100644 --- a/pkgs/apps/luscus/default.nix +++ b/pkgs/apps/luscus/default.nix @@ -30,8 +30,7 @@ stdenv.mkDerivation rec { # This is missing for some reason: LDFLAGS = "-lGLU"; - - NIX_CFLAGS_COMPILE = "-fcommon"; + env.NIX_CFLAGS_COMPILE = "-fcommon"; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libGLU libGL gtk2 gnome2.gtkglext ]; diff --git a/pkgs/apps/openmolcas/v18.09.nix b/pkgs/apps/openmolcas/v18.09.nix index 1f14b804..8c00171f 100644 --- a/pkgs/apps/openmolcas/v18.09.nix +++ b/pkgs/apps/openmolcas/v18.09.nix @@ -64,7 +64,7 @@ in stdenv.mkDerivation { enableParallelBuilding = true; - NIX_CFLAGS_COMPILE = "-DH5_USE_110_API"; + env.NIX_CFLAGS_COMPILE = "-DH5_USE_110_API"; cmakeFlags = [ "-DOPENMP=ON"