From 3c7abf32f1e38233bdf835028a341666c288ce81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 22 Jan 2011 22:20:45 +0000 Subject: [PATCH] BDW-GC: Work around `fetchcvs' error on FreeBSD. svn path=/nixpkgs/trunk/; revision=25670 --- pkgs/top-level/all-packages.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d071cdc608f3..d29fdb81827e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };