about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArthur Gautier <baloo@superbaloo.net>2020-04-12 16:58:38 +0000
committerArthur Gautier <baloo@superbaloo.net>2020-08-22 10:31:02 -0700
commit230a563bfe10c81f1a0cb51329fdb4ac97415169 (patch)
tree1a8139779df0ad271fc23a28f4063cd7264b849d
parent4cfd81acfa029453f2ff35020ff92ba8accca90e (diff)
guile: fixup musl support
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
-rw-r--r--pkgs/development/interpreters/guile/2.0.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/guile/2.0.nix b/pkgs/development/interpreters/guile/2.0.nix
index b5b83e180254a..5b26b38dbd4e9 100644
--- a/pkgs/development/interpreters/guile/2.0.nix
+++ b/pkgs/development/interpreters/guile/2.0.nix
@@ -59,7 +59,7 @@
   # "libgcc_s.so.1 must be installed for pthread_cancel to work".
 
   # don't have "libgcc_s.so.1" on darwin
-  LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
+  LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "-lgcc_s";
 
   configureFlags = [ "--with-libreadline-prefix" ]
     ++ stdenv.lib.optionals stdenv.isSunOS [