diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/librtld-db.nix b/pkgs/os-specific/bsd/freebsd/pkgs/librtld-db.nix new file mode 100644 index 000000000000..6e8a2389d7d4 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/pkgs/librtld-db.nix @@ -0,0 +1,25 @@ +{ + lib, + mkDerivation, + libelf, + libprocstat, +}: +mkDerivation { + path = "lib/librtld_db"; + extraPaths = [ + "lib/libproc/libproc.h" + ]; + + outputs = [ + "out" + "man" + "debug" + ]; + + buildInputs = [ + libelf + libprocstat + ]; + + meta.platforms = lib.platforms.freebsd; +}