about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-05-04 20:00:23 +0200
committerPeter Simons <simons@cryp.to>2015-05-05 12:54:54 +0200
commitb8bd19791556fec038ec17a466cc43a4a748399f (patch)
tree3171d516659a07adba98463d0e7854c161343d60 /pkgs
parentd42d6438b2d095aa2ac16297138f1a5d069cfa6b (diff)
downloadnixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar.gz
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar.bz2
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar.lz
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar.xz
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.tar.zst
nixlib-b8bd19791556fec038ec17a466cc43a4a748399f.zip
haskell-libconfig: fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index b0c628b9763a..86d58851fcd1 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -118,6 +118,9 @@ self: super: {
   # Agda-2.4.2.2 needs these overrides to compile.
   Agda = super.Agda.override { equivalence = self.equivalence_0_2_5; cpphs = self.cpphs_1_18_9; };
 
+  # Help libconfig find it's C language counterpart.
+  libconfig = (dontCheck super.libconfig).override { config = pkgs.libconfig; };
+
   # The Haddock phase fails for one reason or another.
   attoparsec-conduit = dontHaddock super.attoparsec-conduit;
   blaze-builder-conduit = dontHaddock super.blaze-builder-conduit;