xorg.xvfb: disable dtrace, add xplugin

Fixes build on Darwin
This commit is contained in:
K900 2024-07-01 12:35:58 +03:00
parent 8a0ea7f45b
commit c9abdc2688

View File

@ -923,6 +923,8 @@ self: super:
"--with-xkb-bin-directory=${xorg.xkbcomp}/bin"
"--with-xkb-path=${xorg.xkeyboardconfig}/share/X11/xkb"
"--with-xkb-output=$out/share/X11/xkb/compiled"
] ++ lib.optional stdenv.isDarwin [
"--without-dtrace"
];
buildInputs = old.buildInputs ++ (with xorg; [
@ -930,7 +932,7 @@ self: super:
libXfont2
xtrans
libxcvt
]);
]) ++ lib.optional stdenv.isDarwin [ Xplugin ];
});
lndir = super.lndir.overrideAttrs (attrs: {