mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
nix: use patched version of wlroots in default.nix
This commit is contained in:
parent
0509728798
commit
f922019aef
1 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
libX11,
|
libX11,
|
||||||
libinput,
|
libinput,
|
||||||
libxcb,
|
libxcb,
|
||||||
|
|
@ -20,6 +21,15 @@
|
||||||
mmsg,
|
mmsg,
|
||||||
}: let
|
}: let
|
||||||
pname = "maomaowm";
|
pname = "maomaowm";
|
||||||
|
# Use patched wlroots from github.com/DreamMaoMao/wlroots
|
||||||
|
wlroots-git = wlroots.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;
|
||||||
|
|
@ -46,7 +56,7 @@ in
|
||||||
pixman
|
pixman
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
wlroots
|
wlroots-git
|
||||||
]
|
]
|
||||||
++ lib.optionals enableXWayland [
|
++ lib.optionals enableXWayland [
|
||||||
libX11
|
libX11
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue