about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAndres Löh <mail@andres-loeh.de>2009-04-23 17:21:14 +0000
committerAndres Löh <mail@andres-loeh.de>2009-04-23 17:21:14 +0000
commitcd018e50d43d29587a5211e82ff8dc7f49a5743f (patch)
tree499160954f24a11ab4e32f7af6efd154345480ff /pkgs
parent2c2f0d913c96ba8332b33937e3d94a7c73ea21f4 (diff)
64bit support in Cabal builder
svn path=/nixpkgs/trunk/; revision=15282
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/cabal/cabal.nix2
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/haskell/cabal/cabal.nix b/pkgs/development/libraries/haskell/cabal/cabal.nix
index cac8990d271f8..c0dea99768393 100644
--- a/pkgs/development/libraries/haskell/cabal/cabal.nix
+++ b/pkgs/development/libraries/haskell/cabal/cabal.nix
@@ -37,7 +37,7 @@ attrs :
             propagatedBuildInputs = [];
 
             # library directories that have to be added to the Cabal files
-            extraLibDirs = map (x : x + "/lib") self.propagatedBuildInputs;
+            extraLibDirs = attrs.lib.lists.concatMap (x : [ (x + "/lib64") (x + "/lib") ]) self.propagatedBuildInputs;
 
             # compiles Setup and configures
             configurePhase = ''
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index d9ab86a6d77da..d13141ca93223 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -16,7 +16,7 @@ rec {
   };
 
   cabal = import ../development/libraries/haskell/cabal/cabal.nix {
-    inherit (pkgs) stdenv fetchurl;
+    inherit (pkgs) stdenv fetchurl lib;
     inherit ghc;
   };