1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/servers/x11/xorg/xwayland.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2019-05-01 15:46:28 +01:00
{ stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper, egl-wayland }:
2014-11-20 06:37:19 +00:00
with stdenv.lib;
xorgserver.overrideAttrs (oldAttrs: {
2014-11-20 06:37:19 +00:00
name = "xwayland-${xorgserver.version}";
2019-05-01 15:46:28 +01:00
buildInputs = oldAttrs.buildInputs ++ [ egl-wayland ];
propagatedBuildInputs = oldAttrs.propagatedBuildInputs
++ [wayland wayland-protocols epoxy libxslt makeWrapper libunwind];
2014-11-20 06:37:19 +00:00
configureFlags = [
"--disable-docs"
"--disable-devel-docs"
"--enable-xwayland"
2019-05-01 15:46:28 +01:00
"--enable-xwayland-eglstream"
2014-11-20 06:37:19 +00:00
"--disable-xorg"
"--disable-xvfb"
"--disable-xnest"
"--disable-xquartz"
"--disable-xwin"
"--enable-glamor"
2014-11-20 06:37:19 +00:00
"--with-default-font-path="
"--with-xkb-bin-directory=${xkbcomp}/bin"
"--with-xkb-path=${xkeyboard_config}/etc/X11/xkb"
"--with-xkb-output=$(out)/share/X11/xkb/compiled"
2014-11-20 06:37:19 +00:00
];
postInstall = ''
rm -fr $out/share/X11/xkb/compiled
'';
meta = {
description = "An X server for interfacing X11 apps with the Wayland protocol";
2018-06-27 21:12:57 +01:00
homepage = https://wayland.freedesktop.org/xserver.html;
2014-11-20 06:37:19 +00:00
license = licenses.mit;
platforms = platforms.linux;
};
})