mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nwchem: runHooks in installPhase (#344726)
This commit is contained in:
commit
c6b2d0f9ad
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user