summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-07-16 01:27:39 -0500
committerJohn Wiegley <johnw@newartisans.com>2014-07-16 01:27:39 -0500
commit57e3fc341f297b63e2f49853d0115add7c589b04 (patch)
treef91622b92a567af62b204df0160682e66e9530ad /pkgs
parentd24df6e3349347b72194c85d8b267e296e53dd80 (diff)
downloadnixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar.gz
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar.bz2
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar.lz
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar.xz
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.tar.zst
nixlib-57e3fc341f297b63e2f49853d0115add7c589b04.zip
haskell-djinn: corrections for darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/djinn/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/djinn/default.nix b/pkgs/development/libraries/haskell/djinn/default.nix
index d643b87c42ea..fbe450df19a9 100644
--- a/pkgs/development/libraries/haskell/djinn/default.nix
+++ b/pkgs/development/libraries/haskell/djinn/default.nix
@@ -9,6 +9,9 @@ cabal.mkDerivation (self: {
   isLibrary = false;
   isExecutable = true;
   buildDepends = [ haskeline mtl ];
+  preConfigure = self.stdenv.lib.optionalString self.stdenv.isDarwin ''
+    sed -i 's/-Wall -optl-Wl/-Wall/' djinn.cabal
+  '';
   meta = {
     homepage = "http://www.augustsson.net/Darcs/Djinn/";
     description = "Generate Haskell code from a type";