about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-01-06 21:24:41 +0100
committersternenseemann <sternenseemann@systemli.org>2024-01-06 21:24:41 +0100
commit0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae (patch)
treecc3963740a19e6139376e793bcd311c7f38fe160 /pkgs/development/haskell-modules
parentd0d080887c52effd54e0a2ba36e2cb911fc938e6 (diff)
downloadnixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar.gz
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar.bz2
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar.lz
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar.xz
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.tar.zst
nixlib-0b7863d3e38bcb48fd7fcb3b70e99b77f6843dae.zip
haskellPackages.double-conversion: don't use vendored library
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index c65a249fb554..c37093e7020f 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -329,6 +329,11 @@ self: super: builtins.intersectAttrs super {
   # Heist's test suite requires system pandoc
   heist = addTestToolDepend pkgs.pandoc super.heist;
 
+  # Use Nixpkgs' double-conversion library
+  double-conversion = disableCabalFlag "embedded_double_conversion" (
+    addBuildDepends [ pkgs.double-conversion ] super.double-conversion
+  );
+
   # https://github.com/NixOS/cabal2nix/issues/136 and https://github.com/NixOS/cabal2nix/issues/216
   gio = lib.pipe super.gio
     [ (disableHardening ["fortify"])