diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 10440572597..7e8e152b21d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -212,12 +212,7 @@ self: super: { double-conversion = if !pkgs.stdenv.isDarwin then super.double-conversion - else addExtraLibrary (overrideCabal super.double-conversion (drv: - { - postPatch = '' - substituteInPlace double-conversion.cabal --replace stdc++ c++ - ''; - })) pkgs.libcxx; + else addExtraLibrary super.double-conversion pkgs.libcxx; inline-c-cpp = if !pkgs.stdenv.isDarwin then super.inline-c-cpp