forked from mirrors/nixpkgs
cassandra: Invoke install hooks
Thanks @r-rmcgibbo for pointing that out
This commit is contained in:
parent
da3bd95ffe
commit
d18e47b760
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue