diff options
Diffstat (limited to 'pkgs/development/libraries/wayland/default.nix')
-rw-r--r-- | pkgs/development/libraries/wayland/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix index 00061e79fa5d..e5a01c5d843d 100644 --- a/pkgs/development/libraries/wayland/default.nix +++ b/pkgs/development/libraries/wayland/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, pkgconfig -, libffi, docbook_xsl, doxygen, graphviz, libxslt, xmlto -, expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0) +, libffi, docbook_xsl, doxygen, graphviz, libxslt, xmlto, expat }: # Require the optional to be enabled until upstream fixes or removes the configure flag assert expat != null; with stdenv.lib; + stdenv.mkDerivation rec { name = "wayland-${version}"; version = "1.7.0"; @@ -16,13 +16,11 @@ stdenv.mkDerivation rec { sha256 = "173w0pqzk2m7hjlg15bymrx7ynxgq1ciadg03hzybxwnvfi4gsmx"; }; - configureFlags = [ - (mkEnable (expat != null) "scanner" null) - ]; + configureFlags = "--with-scanner --disable-documentation"; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ libffi docbook_xsl doxygen graphviz libxslt xmlto expat ]; + buildInputs = [ libffi /* docbook_xsl doxygen graphviz libxslt xmlto */ expat ]; meta = { description = "Reference implementation of the wayland protocol"; |