nwchem: runHooks in installPhase (#344726)

This commit is contained in:
Weijia Wang 2024-09-27 01:39:09 +02:00 committed by GitHub
commit c6b2d0f9ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;