From a1facf33625de78723352ee36f9d18dfab9f5993 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Mon, 30 May 2016 16:30:58 -0500 Subject: [PATCH] qtox: run pre- and post-install hooks Fixes #15744. --- .../networking/instant-messengers/qtox/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/qtox/default.nix b/pkgs/applications/networking/instant-messengers/qtox/default.nix index d244c4d11c41..50017de132c9 100644 --- a/pkgs/applications/networking/instant-messengers/qtox/default.nix +++ b/pkgs/applications/networking/instant-messengers/qtox/default.nix @@ -43,9 +43,13 @@ stdenv.mkDerivation rec { ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin cp qtox $out/bin wrapQtProgram $out/bin/qtox + + runHook postInstall ''; enableParallelBuilding = true;