BDW-GC: Work around `fetchcvs' error on FreeBSD.

svn path=/nixpkgs/trunk/; revision=25670
This commit is contained in:
Ludovic Courtès 2011-01-22 22:20:45 +00:00
parent 04bd33d520
commit 3c7abf32f1

View file

@ -2776,7 +2776,12 @@ let
boehmgc_cvs = callPackage ../development/libraries/boehm-gc { };
# There are good reasons to use CVS instead of 7.1 or 7.2alpha4.
boehmgc = boehmgc_cvs;
# See `default.nix' for details.
boehmgc =
# XXX: `fetchcvs' doesn't work on FreeBSD ("cp: illegal option -- d").
if stdenv.system == "i686-freebsd"
then boehmgc_7_1
else boehmgc_cvs;
boolstuff = callPackage ../development/libraries/boolstuff { };