From 4245219dcb8b0aa41196e2635a65319ce2660df4 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 26 Sep 2024 22:31:07 +0200 Subject: [PATCH] nwchem: runHooks in installPhase --- pkgs/applications/science/chemistry/nwchem/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/chemistry/nwchem/default.nix b/pkgs/applications/science/chemistry/nwchem/default.nix index 44ce15229017e..fb24f903f5224 100644 --- a/pkgs/applications/science/chemistry/nwchem/default.nix +++ b/pkgs/applications/science/chemistry/nwchem/default.nix @@ -164,6 +164,8 @@ stdenv.mkDerivation rec { ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin $out/share/nwchem cp $NWCHEM_TOP/bin/LINUX64/nwchem $out/bin/nwchem @@ -186,6 +188,8 @@ stdenv.mkDerivation rec { charmm_s $out/share/nwchem/data/charmm_s/ charmm_x $out/share/nwchem/data/charmm_x/ EOF + + runHook postInstall ''; doCheck = false;