treewide: fix darwin builds by referring to stdenv's libc

+6 -6
+1 -1
pkgs/applications/networking/ike/default.nix
··· 33 33 installPhase = '' 34 34 make install 35 35 for file in "$out"/bin/* "$out"/sbin/*; do 36 - wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${stdenv.lib.makeLibraryPath [ openssl gcc.cc stdenv.glibc libedit qt4 ]}" 36 + wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${stdenv.lib.makeLibraryPath [ openssl gcc.cc stdenv.cc.libc libedit qt4 ]}" 37 37 done 38 38 ''; 39 39
+1 -1
pkgs/applications/science/logic/boolector/default.nix
··· 23 23 license = with stdenv.lib.licenses; if useV16 then unfreeRedistributable else gpl3; 24 24 in 25 25 stdenv.mkDerivation (boolectorPkg // { 26 - buildInputs = [ zlib stdenv.glibc.static zlib.static ]; 26 + buildInputs = [ zlib stdenv.cc.libc.static zlib.static ]; 27 27 enableParallelBuilding = false; 28 28 29 29 installPhase = ''
+1 -1
pkgs/development/tools/misc/prelink/default.nix
··· 6 6 stdenv.mkDerivation rec { 7 7 name = "prelink-${version}"; 8 8 9 - buildInputs = [ libelf stdenv.glibc stdenv.glibc.static ]; 9 + buildInputs = [ libelf stdenv.cc.libc stdenv.cc.libc.static ]; 10 10 11 11 src = fetchurl { 12 12 url = "http://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";
+1 -1
pkgs/os-specific/linux/busybox/default.nix
··· 74 74 makeFlagsArray+=("CC=gcc -isystem ${musl}/include -B${musl}/lib -L${musl}/lib") 75 75 ''; 76 76 77 - buildInputs = lib.optionals (enableStatic && !useMusl) [ glibc glibc.static ]; 77 + buildInputs = lib.optionals (enableStatic && !useMusl) [ stdenv.cc.libc stdenv.cc.libc.static ]; 78 78 79 79 crossAttrs = { 80 80 extraCrossConfig = ''
+1 -1
pkgs/os-specific/linux/sinit/default.nix
··· 10 10 rev = "refs/tags/v${version}"; 11 11 }; 12 12 buildInputs = [ 13 - stdenv.glibc.static 13 + stdenv.cc.libc.static 14 14 ]; 15 15 in 16 16 stdenv.mkDerivation {
+1 -1
pkgs/tools/backup/partclone/default.nix
··· 14 14 }; 15 15 16 16 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 17 - buildInputs = [ e2fsprogs libuuid stdenv.glibc stdenv.glibc.static ]; 17 + buildInputs = [ e2fsprogs libuuid stdenv.cc.libc stdenv.cc.libc.static ]; 18 18 19 19 enableParallelBuilding = true; 20 20