Skip to content

Commit

Permalink
Merge pull request #139886 from rhoriguchi/neofetch
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Sep 29, 2021
2 parents 9566e0f + 636a411 commit 72c516c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/tools/misc/neofetch/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils
, x11Support ? true, ueberzug
, x11Support ? true, ueberzug, fetchpatch
}:

stdenvNoCC.mkDerivation rec {
Expand All @@ -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 ];
Expand Down

0 comments on commit 72c516c

Please sign in to comment.