3
0
Fork 0
forked from mirrors/nixpkgs

GNU Guile: Fix cross-compilation.

svn path=/nixpkgs/trunk/; revision=30415
This commit is contained in:
Ludovic Courtès 2011-11-13 21:28:35 +00:00
parent db1b4e2edc
commit e98264fe8f

View file

@ -14,11 +14,8 @@ rec {
sha256 = "14rhlpxxa4v5y3gl992l7lnd5qnqawx0a84idnwq0w2qviwcvsyj";
};
buildNativeInputs = [ xz ];
buildInputs =
[ makeWrapper gawk readline libtool libunistring
libffi pkgconfig
];
buildNativeInputs = [ xz makeWrapper gawk pkgconfig ];
buildInputs = [ readline libtool libunistring libffi ];
propagatedBuildInputs = [ gmp boehmgc ]
# XXX: These ones aren't normally needed here, but since
@ -27,6 +24,11 @@ rec {
# see below.
++ [ libtool libunistring ];
# A native Guile 2.0 is needed to cross-build Guile.
selfBuildNativeInput = true;
enableParallelBuilding = true;
patches =
stdenv.lib.optionals (coverageAnalysis != null)
[ ./gcov-file-name.patch ./disable-gc-sensitive-tests.patch ];