3
0
Fork 0
forked from mirrors/nixpkgs

cassandra: Invoke install hooks

Thanks @r-rmcgibbo for pointing that out
This commit is contained in:
Robert Hensing 2021-02-18 12:17:30 +01:00
parent da3bd95ffe
commit d18e47b760

View file

@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper coreutils ]; nativeBuildInputs = [ makeWrapper coreutils ];
installPhase = '' installPhase = ''
runHook preInstall
mkdir $out mkdir $out
mv * $out mv * $out
@ -86,6 +88,8 @@ stdenv.mkDerivation rec {
done done
wrapProgram $out/bin/cqlsh --prefix PATH : ${python}/bin wrapProgram $out/bin/cqlsh --prefix PATH : ${python}/bin
runHook postInstall
''; '';
passthru = { passthru = {