summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-02-28 14:53:33 +0100
committerPeter Simons <simons@cryp.to>2017-03-02 09:05:07 +0100
commit9e72734826389c20b473c99d7b2375a01323838c (patch)
tree9b6bcd2641207f6d679e20d92580886fb28bdd47 /pkgs/development
parent2e5a4b1a3801bbea8980b71d8d77dc412be81f83 (diff)
downloadnixlib-9e72734826389c20b473c99d7b2375a01323838c.tar
nixlib-9e72734826389c20b473c99d7b2375a01323838c.tar.gz
nixlib-9e72734826389c20b473c99d7b2375a01323838c.tar.bz2
nixlib-9e72734826389c20b473c99d7b2375a01323838c.tar.lz
nixlib-9e72734826389c20b473c99d7b2375a01323838c.tar.xz
nixlib-9e72734826389c20b473c99d7b2375a01323838c.tar.zst
nixlib-9e72734826389c20b473c99d7b2375a01323838c.zip
haskell-yaml: build with bundled libyaml rather than our system version
It looks like the yaml package bundles an unreleased version of libyaml and
relies on particulars of that versions behavior. Therefore, the package no
longer works with the official libyaml 0.1.7 release, which is what we have.

https://github.com/snoyberg/yaml/issues/106
Diffstat (limited to 'pkgs/development')
-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 53ffd68a9972..7fbdd3d3c498 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -880,4 +880,8 @@ self: super: {
   rank1dynamic = doJailbreak super.rank1dynamic;
 
   cabal-lenses = doJailbreak super.cabal-lenses;
+
+  # https://github.com/snoyberg/yaml/issues/106
+  yaml = disableCabalFlag super.yaml "system-libyaml";
+
 }