From d18e47b7609fba0d71a55dfec077a5d0c1a176bc Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 18 Feb 2021 12:17:30 +0100 Subject: [PATCH] cassandra: Invoke install hooks Thanks @r-rmcgibbo for pointing that out --- pkgs/servers/nosql/cassandra/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/nosql/cassandra/generic.nix b/pkgs/servers/nosql/cassandra/generic.nix index f343e20bee5d..ca2001817a34 100644 --- a/pkgs/servers/nosql/cassandra/generic.nix +++ b/pkgs/servers/nosql/cassandra/generic.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper coreutils ]; installPhase = '' + runHook preInstall + mkdir $out mv * $out @@ -86,6 +88,8 @@ stdenv.mkDerivation rec { done wrapProgram $out/bin/cqlsh --prefix PATH : ${python}/bin + + runHook postInstall ''; passthru = {