summary refs log tree commit diff
path: root/pkgs/development/interpreters/guile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-21 12:06:45 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-21 12:06:45 +0200
commit6aa8c5761c24a3914fbaa89153fb3adbc9b05de9 (patch)
tree9e78e8fea2e424da57f1b49ae180ad49df6723fe /pkgs/development/interpreters/guile
parent7dd6b5f8125929b731ff88896bc0b6fcdcbed2d8 (diff)
downloadnixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar.gz
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar.bz2
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar.lz
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar.xz
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.tar.zst
nixlib-6aa8c5761c24a3914fbaa89153fb3adbc9b05de9.zip
guile: fix non-GNU builds
Diffstat (limited to 'pkgs/development/interpreters/guile')
-rw-r--r--pkgs/development/interpreters/guile/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix
index 558f4a8806ed..66b5b79083a1 100644
--- a/pkgs/development/interpreters/guile/default.nix
+++ b/pkgs/development/interpreters/guile/default.nix
@@ -106,10 +106,8 @@
 
 //
 
-(if stdenv.isFreeBSD
- then {
-   # XXX: Thread support is currently broken on FreeBSD and Solaris (namely
-   # the `SCM_I_IS_THREAD' assertion in `scm_spawn_thread' is hit.)
-   configureFlags = [ "--without-threads" ];
- }
- else {}))
+(stdenv.lib.optionalAttrs (!stdenv.isLinux) {
+  # Work around <http://bugs.gnu.org/14201>.
+  SHELL = "/bin/sh";
+  CONFIG_SHELL = "/bin/sh";
+}))