From 1d44b332ed7f7ce69f881d8ca96d5eedd79c28f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 9 Feb 2012 09:16:17 +0000 Subject: [PATCH] GNU Guile: Disable pthread support on FreeBSD. svn path=/nixpkgs/trunk/; revision=32152 --- pkgs/development/interpreters/guile/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix index 1b9284dd0467..07ea14e66546 100644 --- a/pkgs/development/interpreters/guile/default.nix +++ b/pkgs/development/interpreters/guile/default.nix @@ -6,7 +6,7 @@ then coverageAnalysis else stdenv.mkDerivation) -rec { +(rec { name = "guile-2.0.5"; src = fetchurl { @@ -69,3 +69,13 @@ rec { platforms = stdenv.lib.platforms.all; }; } + +// + +(if stdenv.isFreeBSD + then { + # XXX: Thread support is currently broken on FreeBSD (namely the + # `SCM_I_IS_THREAD' assertion in `scm_spawn_thread' is hit.) + configureFlags = [ "--disable-threads" ]; + } + else {}))