···4747 else if final.isUClibc then "uclibc"4848 else if final.isAndroid then "bionic"4949 else if final.isLinux /* default */ then "glibc"5050+ else if final.isFreeBSD then "fblibc"5151+ else if final.isNetBSD then "nblibc"5052 else if final.isAvr then "avrlibc"5153 else if final.isNone then "newlib"5252- else if final.isNetBSD then "nblibc"5354 # TODO(@Ericson2314) think more about other operating systems5455 else "native/impure";5556 # Choose what linker we wish to use by default. Someday we might also
···11+--- a/etc/mtree/BSD.include.dist22++++ b/etc/mtree/BSD.include.dist33+@@ -3,7 +3,7 @@44+ # Please see the file src/etc/mtree/README before making changes to this file.55+ #66+77+-/set type=dir uname=root gname=wheel mode=075588++/set type=dir99+ .1010+ arpa1111+ ..
···1212in1313buildGoModule rec {1414 pname = "opentelemetry-collector";1515- version = "0.64.0";1515+ version = "0.64.1";16161717 src = fetchFromGitHub {1818 owner = "open-telemetry";1919 repo = "opentelemetry-collector";2020 rev = "v${version}";2121- sha256 = "sha256-4EXRmG8HAUybA9+kPNCvlfZf3bfREAqeis7YxmGn33c=";2121+ sha256 = "sha256-qYQWPhvWVNUqsQLTLUd4SOfW0YiXPyGBrtX8AY15FNg=";2222 };2323 # there is a nested go.mod2424 sourceRoot = "source/cmd/otelcorecol";2525- vendorSha256 = "sha256-i3pAK9ByXDdd2juenPooStgvhpcemcCOKLT9jjz0hL8=";2525+ vendorSha256 = "sha256-uq5o/wtmgGMthUqK86x+uKV7jFAd9koKucnBCKGUJMo=";26262727 preBuild = ''2828 # set the build version, can't be done via ldflags
+7-1
pkgs/top-level/all-packages.nix
···1463814638 # assumption is that or any later version is good.1463914639 choose = platform:1464014640 /**/ if platform.isDarwin then 111464114641- else if platform.isFreeBSD then 71464114641+ else if platform.isFreeBSD then 121464214642 else if platform.isAndroid then 121464314643 else if platform.system == "armv6l-linux" then 7 # This fixes armv6 cross-compilation1464414644 else if platform.isLinux then 11···1912819128 if stdenv.targetPlatform.useiOSPrebuilt1912919129 then targetPackages.darwin.iosSdkPkgs.libraries or darwin.iosSdkPkgs.libraries1913019130 else targetPackages.darwin.LibsystemCross or (throw "don't yet have a `targetPackages.darwin.LibsystemCross for ${stdenv.targetPlatform.config}`")1913119131+ else if name == "fblibc" then targetPackages.freebsdCross.libc or freebsdCross.libc1913119132 else if name == "nblibc" then targetPackages.netbsdCross.libc or netbsdCross.libc1913219133 else if name == "wasilibc" then targetPackages.wasilibc or wasilibc1913319134 else if name == "relibc" then targetPackages.relibc or relibc···3784837847 bsdSetupHook = makeSetupHook {3784937848 name = "bsd-setup-hook";3785037849 } ../os-specific/bsd/setup-hook.sh;3785037850+3785137851+ freebsd = callPackage ../os-specific/bsd/freebsd {};3785237852+ freebsdCross = callPackage ../os-specific/bsd/freebsd {3785337853+ stdenv = crossLibcStdenv;3785437854+ };37851378553785237856 netbsd = callPackage ../os-specific/bsd/netbsd {};3785337857 netbsdCross = callPackage ../os-specific/bsd/netbsd {