summary refs log tree commit diff
path: root/pkgs
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 /pkgs
parent4cfd81acfa029453f2ff35020ff92ba8accca90e (diff)
downloadnixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar.gz
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar.bz2
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar.lz
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar.xz
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.tar.zst
nixpkgs-230a563bfe10c81f1a0cb51329fdb4ac97415169.zip
guile: fixup musl support
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
Diffstat (limited to 'pkgs')
-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 b5b83e18025..5b26b38dbd4 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 [