Skip to content

Commit

Permalink
Merge pull request #576 from Nix-QChem/orca-upd
Browse files Browse the repository at this point in the history
orca: 6.0.0 -> 6.0.1
  • Loading branch information
sheepforce authored Nov 7, 2024
2 parents 6b4144e + 1108799 commit 1ecf6d7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkgs/by-name/orca/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ assert withCustomOtoolExternal -> customOtoolExternal != null;

stdenv.mkDerivation {
pname = "orca";
version = "6.0.0";
version = "6.0.1";

src =
if enableAvx2 then
requireFile {
name = "orca_6_0_0_linux_x86-64_avx2_shared_openmpi416.tar.xz";
sha256 = "sha256-AsISlO/nsbch4my5D5juFa1oLQKAcgG30hff5nkFov0=";
name = "orca_6_0_1_linux_x86-64_shared_openmpi416_avx2.tar.xz";
sha256 = "sha256-8x+YJWoMZye23f5QqjrGTEVUmYETjWcKV+kBFLS5ydI=";
url = "https://orcaforum.kofo.mpg.de/app.php/portal";
} else
requireFile {
name = "orca_6_0_0_linux_x86-64_shared_openmpi416.tar.xz";
sha256 = "sha256-IZvR3rbWSmPLckcZJsuBZly7zewZ+clUl2G+Z9SaKcY=";
name = "orca_6_0_1_linux_x86-64_shared_openmpi416.tar.xz";
sha256 = "sha256-XptJWIN14M5bwydnEnzHJfVCWReAQELN7N/Vxrll72E=";
url = "https://orcaforum.kofo.mpg.de/app.php/portal";
};

Expand All @@ -56,6 +56,9 @@ stdenv.mkDerivation {
wrapProgram $out/bin/orca --prefix PATH : '${lib.getBin openmpi}/bin:${lib.getBin openssh}/bin'
# ORCA >= 6.0.1 comes with its own xTB binary.
# We replace it with ours to get optimisation and patches
rm $out/bin/otool_xtb
ln -s ${lib.getBin xtb}/bin/xtb $out/bin/otool_xtb
${lib.optionalString withCustomOtoolExternal "ln -s ${customOtoolExternal} $out/bin/otool_external"}
Expand Down

0 comments on commit 1ecf6d7

Please sign in to comment.