Skip to content

Commit

Permalink
haskell-gi-base: propagate gobjectIntrospection dependency
Browse files Browse the repository at this point in the history
So the thinking is: anything that needs `haskell-gi-base` is going to
need `gobjectIntrospection` in order to work correctly; by adding this
one `buildDepends` (which therefore gets propagated), we put ourselves
in a position to simplify away a bunch of code in `cabal2nix`.
  • Loading branch information
mdorman authored and peti committed Mar 8, 2017
1 parent d7496b5 commit 763e21e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/haskell-modules/configuration-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ self: super: builtins.intersectAttrs super {
# tests require git
hapistrano = addBuildTool super.hapistrano pkgs.git;

# This propagates this to everything depending on haskell-gi-base
haskell-gi-base = addBuildDepend super.haskell-gi-base pkgs.gobjectIntrospection;

# requires webkitgtk API version 3 (webkitgtk 2.4 is the latest webkit supporting that version)
gi-javascriptcore = super.gi-javascriptcore.override { webkitgtk = pkgs.webkitgtk24x; };
gi-webkit = super.gi-webkit.override { webkit = pkgs.webkitgtk24x; };
Expand Down

0 comments on commit 763e21e

Please sign in to comment.