diff options
author | Nick Cao <nickcao@nichi.co> | 2024-03-11 10:48:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 10:48:04 -0400 |
commit | 14e5455ad4e98b8e178550fc7591491d257fb484 (patch) | |
tree | ae66af6abfda3e3c71870f3554fefb148f40e421 /pkgs/by-name/ni | |
parent | 916b0284656a6fa2cf97bde6fc0712de6c0016ab (diff) | |
parent | 7b78f6a375ea49be7f379ac5452057e8f350d01f (diff) |
Merge pull request #294833 from sodiboo/patch-niri
niri: fix regression introduced in 0.1.3
Diffstat (limited to 'pkgs/by-name/ni')
-rw-r--r-- | pkgs/by-name/ni/niri/package.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/by-name/ni/niri/package.nix b/pkgs/by-name/ni/niri/package.nix index e8bf2773b3b3a..e198d0585d2f0 100644 --- a/pkgs/by-name/ni/niri/package.nix +++ b/pkgs/by-name/ni/niri/package.nix @@ -16,6 +16,7 @@ , libclang , autoPatchelfHook , clang +, fetchpatch }: rustPlatform.buildRustPackage rec { @@ -29,6 +30,14 @@ rustPlatform.buildRustPackage rec { hash = "sha256-VTtXEfxc3OCdtdYiEdtftOQ7gDJNb679Yw8v1Lu3lhY="; }; + patches = [ + (fetchpatch { + name = "revert-viewporter.patch"; + url = "https://github.com/YaLTeR/niri/commit/40cec34aa4a7f99ab12b30cba1a0ee83a706a413.patch"; + hash = "sha256-3fg8v0eotfjUQY6EVFEPK5BBIBrr6vQpXbjDcsw2E8Q="; + }) + ]; + cargoLock = { lockFile = ./Cargo.lock; outputHashes = { @@ -83,7 +92,7 @@ rustPlatform.buildRustPackage rec { description = "A scrollable-tiling Wayland compositor"; homepage = "https://github.com/YaLTeR/niri"; license = licenses.gpl3Only; - maintainers = with maintainers; [ iogamaster foo-dogsquared ]; + maintainers = with maintainers; [ iogamaster foo-dogsquared sodiboo ]; mainProgram = "niri"; platforms = platforms.linux; }; |