diff --git a/cabal2nix.cabal b/cabal2nix.cabal
--- a/cabal2nix.cabal
+++ b/cabal2nix.cabal
@@ -1,5 +1,5 @@
 Name:                   cabal2nix
-Version:                1.16
+Version:                1.17
 Copyright:              Peter Simons, Andres Loeh
 License:                BSD3
 License-File:           LICENSE
diff --git a/src/Cabal2Nix/Flags.hs b/src/Cabal2Nix/Flags.hs
--- a/src/Cabal2Nix/Flags.hs
+++ b/src/Cabal2Nix/Flags.hs
@@ -9,6 +9,7 @@
  | name == "threadscope"        = ([], ["--ghc-options=-rtsopts"])
  | name == "X11-xft"            = ([], ["--extra-include-dirs=${freetype}/include/freetype2"])
  | name == "xmonad-extras"      = ([disable "with_hlist", disable "with_mpd"], [])
+ | name == "xmobar"             = ([enable "with_xft"], [])
  | otherwise                    = ([],[])
 
 enable :: String -> (FlagName,Bool)
