summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2023-10-11 11:09:13 +0200
committerGitHub <noreply@github.com>2023-10-11 11:09:13 +0200
commit503a9f572df2dd204980c17d3e02a3934536087b (patch)
treed3eb705f629e356f09f0b9e7ce9860f64f20e5f2 /pkgs/applications/science/chemistry
parent38b89f26aa960368bd3bcde28d9f5d8a58eca2b9 (diff)
parentceff926e7b35b15058a8e97ec67c91ee8f5e8197 (diff)
Merge pull request #260254 from markuskowa/upd-nwchem
nwchem: 7.2.0 -> 7.2.1
Diffstat (limited to 'pkgs/applications/science/chemistry')
-rw-r--r--pkgs/applications/science/chemistry/nwchem/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/science/chemistry/nwchem/default.nix b/pkgs/applications/science/chemistry/nwchem/default.nix
index d5c97aa17f926..062c61fa5c9e0 100644
--- a/pkgs/applications/science/chemistry/nwchem/default.nix
+++ b/pkgs/applications/science/chemistry/nwchem/default.nix
@@ -54,13 +54,13 @@ let
 in
 stdenv.mkDerivation rec {
   pname = "nwchem";
-  version = "7.2.0";
+  version = "7.2.1";
 
   src = fetchFromGitHub {
     owner = "nwchemgit";
     repo = "nwchem";
     rev = "v${version}-release";
-    hash = "sha256-/biwHOSMGpdnYRGrGlDounKKLVaG2XkBgCmpE0IKR/Y=";
+    hash = "sha256-nnNTZ+c7VVGAqwOBMkBlW3rImNjs08Ne35XRkI3ssGo=";
   };
 
   nativeBuildInputs = [
@@ -106,6 +106,9 @@ stdenv.mkDerivation rec {
     # Overwrite script, skipping the download
     echo -e '#!/bin/sh\n cd ga-${versionGA};autoreconf -ivf' > src/tools/get-tools-github
 
+    # /usr/bin/env bash fails in sandbox/Makefile setting
+    substituteInPlace src/config/makefile.h --replace '/usr/bin/env bash' "${stdenv.shell}"
+
     patchShebangs ./
   '';