summary refs log tree commit diff
path: root/pkgs/development/libraries/wayland
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-13 18:16:07 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-05-13 18:17:26 +0200
commiteb5c1616401ff78509ee707a060efe738f5378b1 (patch)
tree404f71ff9e751fdecb97e01aed486f34472c1b8f /pkgs/development/libraries/wayland
parent279aca0f4b18aa8157762a26e78c53b3eb074acc (diff)
downloadnixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar.gz
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar.bz2
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar.lz
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar.xz
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.tar.zst
nixpkgs-eb5c1616401ff78509ee707a060efe738f5378b1.zip
wayland: Fewer build-time dependencies
Diffstat (limited to 'pkgs/development/libraries/wayland')
-rw-r--r--pkgs/development/libraries/wayland/default.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix
index cdd663bf191..e5a01c5d843 100644
--- a/pkgs/development/libraries/wayland/default.nix
+++ b/pkgs/development/libraries/wayland/default.nix
@@ -1,16 +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;
 
-let
-  mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
-in
-
 with stdenv.lib;
+
 stdenv.mkDerivation rec {
   name = "wayland-${version}";
   version = "1.7.0";
@@ -20,13 +16,11 @@ stdenv.mkDerivation rec {
     sha256 = "173w0pqzk2m7hjlg15bymrx7ynxgq1ciadg03hzybxwnvfi4gsmx";
   };
 
-  configureFlags = [
-    (mkFlag (expat != null) "scanner")
-  ];
+  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";