summary refs log tree commit diff
path: root/pkgs/development/libraries/boehm-gc
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2019-09-29 11:18:02 +0200
committerDomen Kožar <domen@dev.si>2019-09-29 11:19:56 +0200
commit094f290f35c2c5c60f11e4deb9fa756bf922eb5e (patch)
treec9229a7c35bae757375fb380cecdc3365e2f157c /pkgs/development/libraries/boehm-gc
parent5ba8c04ae51b915a18dabf2cb7d75d8a4611de4d (diff)
downloadnixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar.gz
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar.bz2
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar.lz
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar.xz
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.tar.zst
nixpkgs-094f290f35c2c5c60f11e4deb9fa756bf922eb5e.zip
bohem-gc: fix static build
Diffstat (limited to 'pkgs/development/libraries/boehm-gc')
-rw-r--r--pkgs/development/libraries/boehm-gc/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix
index b347a7a0f2f..bc8b7a8c760 100644
--- a/pkgs/development/libraries/boehm-gc/default.nix
+++ b/pkgs/development/libraries/boehm-gc/default.nix
@@ -15,18 +15,13 @@ stdenv.mkDerivation rec {
   };
 
   outputs = [ "out" "dev" "doc" ];
-  separateDebugInfo = stdenv.isLinux;
+  separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
 
   preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
     export NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
   '';
 
-  patches = [ (fetchpatch {
-    name = "boehm-gc-7.6.0-sys_select.patch";
-    url = "https://gitweb.gentoo.org/proj/musl.git/plain/dev-libs/boehm-gc/files/boehm-gc-7.6.0-sys_select.patch?id=85b6a600996bdd71162b357e9ba93d8559342432";
-    sha256 = "1gydwlklvci30f5dpp5ccw2p2qpph5y41r55wx9idamjlq66fbb3";
-  }) ] ++
-    # https://github.com/ivmai/bdwgc/pull/208
+  patches = # https://github.com/ivmai/bdwgc/pull/208
     lib.optional stdenv.hostPlatform.isRiscV ./riscv.patch;
 
   configureFlags =