···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 systems
5455 else "native/impure";
5556 # Choose what linker we wish to use by default. Someday we might also
···1212in
1313buildGoModule 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.mod
2424 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 11
1464114641- else if platform.isFreeBSD then 7
1464114641+ else if platform.isFreeBSD then 12
1464214642 else if platform.isAndroid then 12
1464314643 else if platform.system == "armv6l-linux" then 7 # This fixes armv6 cross-compilation
1464414644 else if platform.isLinux then 11
···1913019130 if stdenv.targetPlatform.useiOSPrebuilt
1913119131 then targetPackages.darwin.iosSdkPkgs.libraries or darwin.iosSdkPkgs.libraries
1913219132 else targetPackages.darwin.LibsystemCross or (throw "don't yet have a `targetPackages.darwin.LibsystemCross for ${stdenv.targetPlatform.config}`")
1913319133+ else if name == "fblibc" then targetPackages.freebsdCross.libc or freebsdCross.libc
1913319134 else if name == "nblibc" then targetPackages.netbsdCross.libc or netbsdCross.libc
1913419135 else if name == "wasilibc" then targetPackages.wasilibc or wasilibc
1913519136 else if name == "relibc" then targetPackages.relibc or relibc
···3785137852 bsdSetupHook = makeSetupHook {
3785237853 name = "bsd-setup-hook";
3785337854 } ../os-specific/bsd/setup-hook.sh;
3785537855+3785637856+ freebsd = callPackage ../os-specific/bsd/freebsd {};
3785737857+ freebsdCross = callPackage ../os-specific/bsd/freebsd {
3785837858+ stdenv = crossLibcStdenv;
3785937859+ };
37854378603785537861 netbsd = callPackage ../os-specific/bsd/netbsd {};
3785637862 netbsdCross = callPackage ../os-specific/bsd/netbsd {