mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
sway: Add xwayland build input
This commit is contained in:
parent
7acd1e7f68
commit
f911770acf
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitHub, pango, libinput
|
{ stdenv, fetchFromGitHub, pango, libinput
|
||||||
, makeWrapper, cmake, pkgconfig, asciidoc, libxslt, docbook_xsl, cairo
|
, makeWrapper, cmake, pkgconfig, asciidoc, libxslt, docbook_xsl, cairo
|
||||||
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs, libcap
|
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs, libcap
|
||||||
|
, xwayland
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -18,7 +19,7 @@ in
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper cmake pkgconfig asciidoc libxslt docbook_xsl ];
|
nativeBuildInputs = [ makeWrapper cmake pkgconfig asciidoc libxslt docbook_xsl ];
|
||||||
|
|
||||||
buildInputs = [ wayland wlc libxkbcommon pixman fontconfig pcre json_c dbus_libs pango cairo libinput libcap ];
|
buildInputs = [ wayland wlc libxkbcommon pixman fontconfig pcre json_c dbus_libs pango cairo libinput libcap xwayland ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
|
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
|
||||||
|
Loading…
Reference in New Issue
Block a user