Merge pull request #294833 from sodiboo/patch-niri

niri: fix regression introduced in 0.1.3
This commit is contained in:
Nick Cao
2024-03-11 10:48:04 -04:00
committed by GitHub
2 changed files with 16 additions and 1 deletions
+6
View File
@@ -18123,6 +18123,12 @@
githubId = 55726;
name = "Stanislav Ochotnický";
};
sodiboo = {
name = "sodiboo";
github = "sodiboo";
githubId = 37938646;
matrix = "@sodiboo:arcticfoxes.net";
};
softinio = {
email = "code@softinio.com";
github = "softinio";
+10 -1
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 = {
@@ -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;
};