diff options
author | Ryan Horiguchi <ryan.horiguchi@gmail.com> | 2021-09-29 13:40:21 +0200 |
---|---|---|
committer | Ryan Horiguchi <ryan.horiguchi@gmail.com> | 2021-09-29 14:08:24 +0200 |
commit | 636a41106963acfb02dfacdf711ab96cd117a89b (patch) | |
tree | ccb5ec9849c06d3c369c0b21b18778c0e7d1e5d2 /pkgs/tools | |
parent | 5d9b66d01bb291b6d828bbc5bc1d23f03aadde66 (diff) |
neofetch: apply patch to fix neofetch returning wrong icon theme
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/neofetch/default.nix | 10 |
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 ]; |