opt: nix not need wlroots custom patch any more

This commit is contained in:
DreamMaoMao 2025-09-26 12:12:23 +08:00
parent 1f9e260398
commit 04766b7247

View file

@ -1,6 +1,5 @@
{
lib,
fetchFromGitHub,
libX11,
libinput,
libxcb,
@ -23,17 +22,6 @@
libGL,
}: let
pname = "mango";
# Use patched wlroots from github.com/DreamMaoMao/wlroots
wlroots-git = wlroots_0_19.overrideAttrs (
final: prev: {
src = fetchFromGitHub {
owner = "DreamMaoMao";
repo = "wlroots";
rev = "afbb5b7c2b14152730b57aa11119b1b16a299d5b";
sha256 = "sha256-pVU+CuiqvduMTpsnDHX/+EWY2qxHX2lXKiVzdGtcnYY=";
};
}
);
in
stdenv.mkDerivation {
inherit pname;
@ -60,7 +48,7 @@ in
pixman
wayland
wayland-protocols
wlroots-git
wlroots_0_19
scenefx
libGL
]
@ -83,4 +71,4 @@ in
maintainers = [];
platforms = lib.platforms.unix;
};
}
}