summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-20 12:56:04 +0100
committerPeter Simons <simons@cryp.to>2015-01-20 17:43:48 +0100
commit4ab133a2c49be6915d79ef0cb05fd37ab36d46a3 (patch)
tree0fbd00db181baa8815cc6b6e868139246cca9f6b /pkgs/development/haskell-modules/configuration-common.nix
parentb9c761966b38840d9454c0aa04f0cf850128af39 (diff)
downloadnixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar.gz
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar.bz2
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar.lz
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar.xz
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.tar.zst
nixpkgs-4ab133a2c49be6915d79ef0cb05fd37ab36d46a3.zip
haskell-ng: fix 'gio' and 'pango' builds
This fixes https://github.com/NixOS/nixpkgs/issues/5863.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 00eb3f32621..9020cf46fca 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -149,6 +149,10 @@ self: super: {
        sha256 = "0q8j9zwi5q651q5zd3mz52nz4ki36rvixbkp20nx2vf5imi050bq";
     })];});
 
+  # https://github.com/NixOS/cabal2nix/issues/136
+  gio = overrideCabal (super.gio.override { glib = self.glib; }) (drv: { pkgconfigDepends = [pkgs.glib]; });
+  pango = super.pango.override { cairo = self.cairo; };
+
 }
 // {
   # Not on Hackage yet.