summary refs log tree commit diff
path: root/pkgs/tools/networking/mu
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2016-07-11 10:36:13 +0200
committerGabriel Ebner <gebner@gebner.org>2016-07-11 10:37:31 +0200
commitad41b8fa197cbab795ea01ca7becf6548391ef5c (patch)
tree7a0ccd5c9def093dcd203b1fd51541276795304e /pkgs/tools/networking/mu
parent85a895d60f7899df72e9000c113b5bf52ef1206f (diff)
mu: fix build of webkit support and re-enable it
Diffstat (limited to 'pkgs/tools/networking/mu')
-rw-r--r--pkgs/tools/networking/mu/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/mu/default.nix b/pkgs/tools/networking/mu/default.nix
index 5829dc9d5509d..fa1740e9d1249 100644
--- a/pkgs/tools/networking/mu/default.nix
+++ b/pkgs/tools/networking/mu/default.nix
@@ -1,6 +1,6 @@
 { fetchurl, stdenv, sqlite, pkgconfig, autoreconfHook
 , xapian, glib, gmime, texinfo , emacs, guile
-, gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }:
+, gtk3, webkitgtk24x, libsoup, icu }:
 
 stdenv.mkDerivation rec {
   version = "0.9.16";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   buildInputs = [
     sqlite pkgconfig xapian glib gmime texinfo emacs guile libsoup icu
     autoreconfHook
-  ] ++ stdenv.lib.optionals withMug [ gtk3 webkit ];
+    gtk3 webkitgtk24x ];
 
   preBuild = ''
     # Fix mu4e-builddir (set it to $out)
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
   '';
 
   # Install mug and msg2pdf
-  postInstall = stdenv.lib.optionalString withMug ''
+  postInstall = ''
     cp -v toys/msg2pdf/msg2pdf $out/bin/
     cp -v toys/mug/mug $out/bin/
   '';