about summary refs log tree commit diff
path: root/pkgs/by-name/ni
diff options
context:
space:
mode:
authorsodiboo <git@sodi.boo>2024-03-10 22:04:10 +0100
committersodiboo <git@sodi.boo>2024-03-10 22:04:10 +0100
commit7b78f6a375ea49be7f379ac5452057e8f350d01f (patch)
treeec4fd2fa1748ad559ecd785956391d74cef470d9 /pkgs/by-name/ni
parent5e2f90e7a02c6b6733d271b617c4d3be1bb35f87 (diff)
downloadnixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar.gz
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar.bz2
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar.lz
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar.xz
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.tar.zst
nixlib-7b78f6a375ea49be7f379ac5452057e8f350d01f.zip
niri: cherry-pick patch
a regression was introduced in the release of v0.1.3 and it is advised that packagers include this patch
Diffstat (limited to 'pkgs/by-name/ni')
-rw-r--r--pkgs/by-name/ni/niri/package.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/by-name/ni/niri/package.nix b/pkgs/by-name/ni/niri/package.nix
index d9aeac8818ac..e198d0585d2f 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 = {