Merge pull request #139886 from rhoriguchi/neofetch

This commit is contained in:
Sandro 2021-09-29 16:06:42 +02:00 committed by GitHub
commit 72c516c526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];