Skip to content

Commit

Permalink
nwchem: runHooks in installPhase (#344726)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Sep 26, 2024
2 parents 895201b + 4245219 commit c6b2d0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/science/chemistry/nwchem/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit c6b2d0f

Please sign in to comment.