summary refs log tree commit diff
path: root/pkgs/applications/misc/twmn
diff options
context:
space:
mode:
authorBalletie <skip_meesie@hotmail.com>2016-08-29 20:33:10 +0200
committerBalletie <skip_meesie@hotmail.com>2016-08-29 20:33:10 +0200
commit32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174 (patch)
treea662963c4afd5589fefc359d098dd9b3e9bcc19f /pkgs/applications/misc/twmn
parentf85053a0216b12d87cb66b246440411a296b42d6 (diff)
downloadnixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar.gz
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar.bz2
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar.lz
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar.xz
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.tar.zst
nixlib-32ee88e2d1eadfd7d9b5a5fa76517fd9008ed174.zip
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).
Diffstat (limited to 'pkgs/applications/misc/twmn')
-rw-r--r--pkgs/applications/misc/twmn/default.nix4
1 files changed, 4 insertions, 0 deletions
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 = {