about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2022-04-25 12:51:12 +0200
committerGabriel Ebner <gebner@gebner.org>2022-04-25 12:51:12 +0200
commit94f1225197c156725f8d218416e4471462b71010 (patch)
treec14714f7a3b80854fed4cb44f97070aabeed1a7c /pkgs/applications/science
parent2ea2f7b6d0cb7ce0712f2aa80303cda08deb0de2 (diff)
calculix: fix build with gfortran 10
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/calculix/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/calculix/default.nix b/pkgs/applications/science/math/calculix/default.nix
index e9766b32c2a48..44721c560b896 100644
--- a/pkgs/applications/science/math/calculix/default.nix
+++ b/pkgs/applications/science/math/calculix/default.nix
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ arpack spooles blas lapack ];
 
-  NIX_CFLAGS_COMPILE = "-I${spooles}/include/spooles";
+  NIX_CFLAGS_COMPILE = [
+    "-I${spooles}/include/spooles"
+    "-std=legacy"
+  ];
 
   patches = [
     ./calculix.patch