haskellPackages.bustle: build icons and metadata

wip/yesman
Jan Tojnar 7 years ago
parent b212125b54
commit 07c375d9fc
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 13
      pkgs/development/haskell-modules/configuration-common.nix

@ -628,6 +628,19 @@ self: super: {
# https://github.com/lens/lens-aeson/issues/18
lens-aeson = dontCheck super.lens-aeson;
# Install icons and metadata, remove broken hgettext dependency.
# https://github.com/vasylp/hgettext/issues/10
bustle = overrideCabal super.bustle (drv: {
configureFlags = drv.configureFlags or [] ++ ["-f-hgettext"];
executableHaskellDepends = pkgs.lib.remove self.hgettext drv.executableHaskellDepends;
buildDepends = [ pkgs.libpcap ];
buildTools = with pkgs; [ gettext perl help2man intltool ];
doCheck = false; # https://github.com/wjt/bustle/issues/6
postInstall = ''
make install PREFIX=$out
'';
});
# Byte-compile elisp code for Emacs.
ghc-mod = overrideCabal super.ghc-mod (drv: {
preCheck = "export HOME=$TMPDIR";

Loading…
Cancel
Save