diff options
author | Jude Taylor <me@jude.bio> | 2015-06-21 00:57:50 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-06-21 00:57:50 -0700 |
commit | c779fe98043ee2123fa36187837423469d0cbc50 (patch) | |
tree | aa2eb4c52d138b0019bbe3b1cc64a440dda825f5 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 3af62f18f2e78ae312486862e20959086e10f5ce (diff) | |
download | nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar.gz nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar.bz2 nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar.lz nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar.xz nixlib-c779fe98043ee2123fa36187837423469d0cbc50.tar.zst nixlib-c779fe98043ee2123fa36187837423469d0cbc50.zip |
darwin purity: haskell-double-conversion
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 0ea34e55cb89..bc9cfe8173b6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -216,6 +216,15 @@ self: super: { ''; }); + double-conversion = if !pkgs.stdenv.isDarwin + then super.double-conversion + else overrideCabal super.double-conversion (drv: + { + patchPhase = '' + substituteInPlace double-conversion.cabal --replace stdc++ c++ + ''; + }); + # Does not compile: "fatal error: ieee-flpt.h: No such file or directory" base_4_8_0_0 = markBroken super.base_4_8_0_0; |