From 0e90167647a53978705618f435e3d96454e6b6cf Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 24 Jul 2025 21:52:56 +0200 Subject: pkgs/i3status-rust: Inline the patches The github patches seem to change their hash from time to time? --- pkgs/by-name/i3/i3status-rust-patched/package.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'pkgs/by-name/i3/i3status-rust-patched/package.nix') diff --git a/pkgs/by-name/i3/i3status-rust-patched/package.nix b/pkgs/by-name/i3/i3status-rust-patched/package.nix index 9f172d49..1d0a42bc 100644 --- a/pkgs/by-name/i3/i3status-rust-patched/package.nix +++ b/pkgs/by-name/i3/i3status-rust-patched/package.nix @@ -18,17 +18,10 @@ i3status-rust.overrideAttrs (final: prev: { (prev.patches or []) ++ [ # Btrfs support for disk_space block. - (fetchpatch2 { - name = "disk_space: Support btrfs backend"; - url = "https://patch-diff.githubusercontent.com/raw/greshake/i3status-rust/pull/2159.patch"; - hash = "sha256-S2/biX6FTLJNfI9QVgwr+V8IGMRnSFIZnTrhc+1LvqQ="; - }) + ./patches/0001-disk_space-Support-btrfs-backend.patch # Correctly calculate the used memory. - (fetchpatch2 { - name = "memory: Avoid estimating available memory, use kernel estimate instead"; - url = "https://patch-diff.githubusercontent.com/raw/greshake/i3status-rust/pull/2160.patch"; - hash = "sha256-1wB2KpXhC/UIxAgRioOYj/bnrzRSuaHAdbeoZ2O5E/Y="; - }) + ./patches/0002-memory-Directly-convert-reported-memory-usage-into-b.patch + ./patches/0003-memory-Avoid-estimating-available-memory-use-kernel-.patch ]; }) -- cgit 1.4.1