1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

64bit support in Cabal builder

svn path=/nixpkgs/trunk/; revision=15282
This commit is contained in:
Andres Löh 2009-04-23 17:21:14 +00:00
parent 2c2f0d913c
commit cd018e50d4
2 changed files with 2 additions and 2 deletions

View file

@ -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 = ''

View file

@ -16,7 +16,7 @@ rec {
};
cabal = import ../development/libraries/haskell/cabal/cabal.nix {
inherit (pkgs) stdenv fetchurl;
inherit (pkgs) stdenv fetchurl lib;
inherit ghc;
};