about summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry/cp2k
diff options
context:
space:
mode:
authorPhillip Seeber <phillip.seeber@googlemail.com>2022-01-10 13:54:46 +0100
committerPhillip Seeber <phillip.seeber@googlemail.com>2022-01-10 13:54:46 +0100
commitafdfec504f7557350479c26f8beee4a49b29b2fa (patch)
tree7ee59fc0e6ac056fb93d405e059f5f42c5df9742 /pkgs/applications/science/chemistry/cp2k
parent2b914ee8e20c7082b18a550bd93e1e7b384adc0f (diff)
cp2k: 8.2.0 -> 9.1.0
Diffstat (limited to 'pkgs/applications/science/chemistry/cp2k')
-rw-r--r--pkgs/applications/science/chemistry/cp2k/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/science/chemistry/cp2k/default.nix b/pkgs/applications/science/chemistry/cp2k/default.nix
index 13efa2390ffae..26cf411cb78aa 100644
--- a/pkgs/applications/science/chemistry/cp2k/default.nix
+++ b/pkgs/applications/science/chemistry/cp2k/default.nix
@@ -11,13 +11,13 @@ let
 
 in stdenv.mkDerivation rec {
   pname = "cp2k";
-  version = "8.2.0";
+  version = "9.1.0";
 
   src = fetchFromGitHub {
     owner = "cp2k";
     repo = "cp2k";
     rev = "v${version}";
-    sha256 = "0kykq5p318hxjzd4gzqjwv9gqshbdvbg0gnjbd9bdfjx1r6jkjn3";
+    hash = "sha256-P9RwZmrE1E0UTQVasQxWAqa3LBLyJNGeJo8T6u5WWcw=";
     fetchSubmodules = true;
   };
 
@@ -50,7 +50,9 @@ in stdenv.mkDerivation rec {
 
   postPatch = ''
     patchShebangs tools exts/dbcsr/tools/build_utils exts/dbcsr/.cp2k
-    substituteInPlace exts/dbcsr/.cp2k/Makefile --replace '/usr/bin/env python3' '${python3}/bin/python'
+    substituteInPlace exts/build_dbcsr/Makefile \
+      --replace '/usr/bin/env python3' '${python3}/bin/python' \
+      --replace 'SHELL = /bin/sh' 'SHELL = bash'
   '';
 
   configurePhase = ''