about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-09-29 16:06:42 +0200
committerGitHub <noreply@github.com>2021-09-29 16:06:42 +0200
commit72c516c5263b2db5ae1c022d72df72aeeb4646ee (patch)
tree82155bbf9de8c0b0f2ac6c894faefd269c1368a9 /pkgs/tools
parent9566e0ffe15688766548dde0dcc47aa06611b82f (diff)
parent636a41106963acfb02dfacdf711ab96cd117a89b (diff)
Merge pull request #139886 from rhoriguchi/neofetch
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/neofetch/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/misc/neofetch/default.nix b/pkgs/tools/misc/neofetch/default.nix
index 3d4bf8500ba21..77af8d5d788b3 100644
--- a/pkgs/tools/misc/neofetch/default.nix
+++ b/pkgs/tools/misc/neofetch/default.nix
@@ -1,5 +1,5 @@
 { lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils
-, x11Support ? true, ueberzug
+, x11Support ? true, ueberzug, fetchpatch
 }:
 
 stdenvNoCC.mkDerivation rec {
@@ -13,6 +13,14 @@ stdenvNoCC.mkDerivation rec {
     sha256 = "sha256-PZjFF/K7bvPIjGVoGqaoR8pWE6Di/qJVKFNcIz7G8xE=";
   };
 
+  patches = [
+    (fetchpatch {
+      url = "https://github.com/dylanaraps/neofetch/commit/413c32e55dc16f0360f8e84af2b59fe45505f81b.patch";
+      sha256 = "1fapdg9z79f0j3vw7fgi72b54aw4brn42bjsj48brbvg3ixsciph";
+      name = "avoid_overwriting_gio_extra_modules_env_var.patch";
+    })
+  ];
+
   strictDeps = true;
   buildInputs = [ bash ];
   nativeBuildInputs = [ makeWrapper ];