about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2023-08-17 15:11:03 +0200
committerGitHub <noreply@github.com>2023-08-17 15:11:03 +0200
commit1e95ab3b7161b86cd6a011b815db7b346d31c232 (patch)
treeab051623e3bab4b64f7cf6b1070573281c336304 /pkgs
parentb22003dcc4fd4e6227e3e784a07944456bb6aca4 (diff)
parent650d6258c833427c4af0d652ce84edfd0b8ebfed (diff)
Merge pull request #249709 from sheepforce/libxc-timeout
libxc: increase test timeout
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libxc/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libxc/default.nix b/pkgs/development/libraries/libxc/default.nix
index 2bda413a73268..ff47a3881e044 100644
--- a/pkgs/development/libraries/libxc/default.nix
+++ b/pkgs/development/libraries/libxc/default.nix
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
     hash = "sha256-JYhuyW95I7Q0edLIe7H//+ej5vh6MdAGxXjmNxDMuhQ=";
   };
 
+  # Timeout increase has already been included upstream in master.
+  # Check upon updates if this can be removed.
+  postPatch = ''
+    substituteInPlace testsuite/CMakeLists.txt \
+        --replace "PROPERTIES TIMEOUT 1" "PROPERTIES TIMEOUT 30"
+  '';
+
   nativeBuildInputs = [ perl cmake gfortran ];
 
   preConfigure = ''