From 32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174 Mon Sep 17 00:00:00 2001 From: Balletie Date: Mon, 29 Aug 2016 20:33:10 +0200 Subject: [PATCH] twmn: fix by running pre- and post-install hooks This package had the same issue as described in issue #15744. The custom installPhase doesn't call pre- and post-install hooks like it should. The solution is also similar (see commit a1facf3). --- pkgs/applications/misc/twmn/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/misc/twmn/default.nix b/pkgs/applications/misc/twmn/default.nix index 06ae708db2bc..c38b97b0e980 100644 --- a/pkgs/applications/misc/twmn/default.nix +++ b/pkgs/applications/misc/twmn/default.nix @@ -16,8 +16,12 @@ stdenv.mkDerivation rec { ''; installPhase = '' + runHook preInstall + mkdir -p "$out/bin" cp bin/* "$out/bin" + + runHook postInstall ''; meta = {