neofetch: apply patch to fix neofetch returning wrong icon theme

This commit is contained in:
Ryan Horiguchi 2021-09-29 13:40:21 +02:00
parent 5d9b66d01b
commit 636a411069
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A

View file

@ -1,5 +1,5 @@
{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils { lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils
, x11Support ? true, ueberzug , x11Support ? true, ueberzug, fetchpatch
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
@ -13,6 +13,14 @@ stdenvNoCC.mkDerivation rec {
sha256 = "sha256-PZjFF/K7bvPIjGVoGqaoR8pWE6Di/qJVKFNcIz7G8xE="; 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; strictDeps = true;
buildInputs = [ bash ]; buildInputs = [ bash ];
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];