From 23f95cd5a8b5050787d4051592c305889c99ac7d Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Thu, 30 May 2024 09:26:51 -0700 Subject: [PATCH] freebsd.libcxxrt: init This package will be necessary down the line for binary patching applications built for non-nix FreeBSD. It is additionally being considered for inclusion in FreeBSD libcxx, both cross and native. --- pkgs/os-specific/bsd/freebsd/pkgs/libcxxrt.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkgs/os-specific/bsd/freebsd/pkgs/libcxxrt.nix diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/libcxxrt.nix b/pkgs/os-specific/bsd/freebsd/pkgs/libcxxrt.nix new file mode 100644 index 000000000000..0640d2292d49 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/pkgs/libcxxrt.nix @@ -0,0 +1,11 @@ +{ mkDerivation, ... }: +# this package is quite different from stock libcxxrt. +# as of FreeBSD 14.0, it is vendored from APPROXIMATELY libcxxrt +# 5d8a15823a103bbc27f1bfdcf2b5aa008fab57dd, though the vendoring mechanism is +# extremely ad-hoc. Moreover, the build mechanism is totally custom, and adds +# symbol versions not specified on any version of libcxxrt. +mkDerivation { + pname = "libcxxrt"; + path = "lib/libcxxrt"; + extraPaths = [ "contrib/libcxxrt" ]; +}