aboutsummaryrefslogtreecommitdiff
path: root/overlays/patches/htop/default.nix
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-05 13:24:18 +0000
committerKatharina Fey <kookie@spacekookie.de>2019-10-05 13:25:58 +0000
commit0a6d1447db7d1f52517a4a4c47d4198451fd223e (patch)
tree9e15a365b7ee2cd46b04d9af20b9b300967526b9 /overlays/patches/htop/default.nix
parent1efa96a62514a89b68432f58f3235e2fa6e17d58 (diff)
Adding LIBKOOKIE overlays directories
Some of these package definitions are taken verbatim from KOOKIEPKGS, others from NIXCFG MASTER (which will be included in the history of this repository)
Diffstat (limited to 'overlays/patches/htop/default.nix')
-rw-r--r--overlays/patches/htop/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/overlays/patches/htop/default.nix b/overlays/patches/htop/default.nix
new file mode 100644
index 00000000000..2b785545da8
--- /dev/null
+++ b/overlays/patches/htop/default.nix
@@ -0,0 +1,19 @@
+/* HTOP CUSTOM COLUMN LENGTHS
+ *
+ * My nick (spacekookie) is too long to be displayed
+ * in an htop column. This custom patches fixes this
+ *
+ * (<3)
+ */
+{ pkgs, ... }:
+
+pkgs.htop.overrideAttrs ({ src, patches ? [], nativeBuildInputs ? [], ... }: {
+ src = pkgs.fetchFromGitHub {
+ repo = "htop";
+ owner = "hishamhm";
+ rev = "402e46bb82964366746b86d77eb5afa69c279539";
+ sha256 = "0akyspxl80h2kgp6nhbhnz9v5265pi6d57i6l90pf50l92z61sw7";
+ };
+ nativeBuildInputs = nativeBuildInputs ++ [ pkgs.autoreconfHook ];
+ patches = patches ++ [ ./0001-htop-untruncated-username.patch ];
+})