diff options
Diffstat (limited to 'pkgs/by-name/i3/i3status-rust-patched/package.nix')
-rw-r--r-- | pkgs/by-name/i3/i3status-rust-patched/package.nix | 13 |
1 files changed, 3 insertions, 10 deletions
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 ]; }) |