about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/st
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-09-04 19:07:29 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-09-05 00:00:39 -0300
commit72dfd9f635c1d1f702e05445865f076ca3d0565b (patch)
tree17b4d11790b05aaa4171aa718a6171ad1cdfe19d /pkgs/applications/terminal-emulators/st
parentd26f8c444f868278b1dfe764daa049b40a986694 (diff)
xst: small cosmetic rewrite
Diffstat (limited to 'pkgs/applications/terminal-emulators/st')
-rw-r--r--pkgs/applications/terminal-emulators/st/xst.nix27
1 files changed, 24 insertions, 3 deletions
diff --git a/pkgs/applications/terminal-emulators/st/xst.nix b/pkgs/applications/terminal-emulators/st/xst.nix
index baa71a09b9ebe..b8bceda50dcd4 100644
--- a/pkgs/applications/terminal-emulators/st/xst.nix
+++ b/pkgs/applications/terminal-emulators/st/xst.nix
@@ -1,4 +1,13 @@
-{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, ncurses, libXext, libXft, fontconfig }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, fontconfig
+, libX11
+, libXext
+, libXft
+, ncurses
+, pkg-config
+}:
 
 stdenv.mkDerivation rec {
   pname = "xst";
@@ -11,11 +20,23 @@ stdenv.mkDerivation rec {
     sha256 = "nOJcOghtzFkl7B/4XeXptn2TdrGQ4QTKBo+t+9npxOA=";
   };
 
-  nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ libX11 ncurses libXext libXft fontconfig ];
+  nativeBuildInputs = [
+    pkg-config
+  ];
+  buildInputs = [
+    fontconfig
+    libX11
+    libXext
+    libXft
+    ncurses
+  ];
 
   installPhase = ''
+    runHook preInstall
+
     TERMINFO=$out/share/terminfo make install PREFIX=$out
+
+    runHook postInstall
   '';
 
   meta = with lib; {