niri: cherry-pick patch

a regression was introduced in the release of v0.1.3 and it is advised that packagers include this patch
This commit is contained in:
sodiboo
2024-03-10 22:04:10 +01:00
parent 5e2f90e7a0
commit 7b78f6a375
+9
View File
@@ -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 = {