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, lib,
fetchFromGitHub,
libX11, libX11,
libinput, libinput,
libxcb, libxcb,
@ -23,17 +22,6 @@
libGL, libGL,
}: let }: let
pname = "mango"; 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 in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname; inherit pname;
@ -60,7 +48,7 @@ in
pixman pixman
wayland wayland
wayland-protocols wayland-protocols
wlroots-git wlroots_0_19
scenefx scenefx
libGL libGL
] ]
@ -83,4 +71,4 @@ in
maintainers = []; maintainers = [];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
} }