> That was a new expression, of course based on cabal2nix's output. > > But with both these expressions, enabling these flags leads to > additional dependencies (possibly on non-haskell packages). > It seems xmobar already contains with_xft, which depends on X11Xft. > How will cabal2nix (regeneration) figure those out?
You can set flag choices in cabal2nix. Look at the Cabal2Nix.Flags module. So it'd be nice if whenever you make a Haskell package change that requires a change to Cabal2Nix, you make the change and send a pull request. A long time ago, I also started adding proper flag support to cabal2nix, but I never finished it. Cheers, Andres _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
