From 04766b7247b6a7079a27f83e360c1591d949bf32 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 26 Sep 2025 12:12:23 +0800 Subject: [PATCH] opt: nix not need wlroots custom patch any more --- nix/default.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index bcbca20..37bff52 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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; }; - } + } \ No newline at end of file