From b9565b5722d63e527ccf7dfd12659f06770bfe15 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 6 Mar 2026 13:22:30 -0800 Subject: [PATCH] freebsd.uathload: init Co-Authored-By: Audrey Dutcher --- .../os-specific/bsd/freebsd/pkgs/uathload.nix | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/os-specific/bsd/freebsd/pkgs/uathload.nix diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/uathload.nix b/pkgs/os-specific/bsd/freebsd/pkgs/uathload.nix new file mode 100644 index 000000000000..b6a9d3ed1407 --- /dev/null +++ b/pkgs/os-specific/bsd/freebsd/pkgs/uathload.nix @@ -0,0 +1,20 @@ +{ + mkDerivation, + bintrans, +}: +mkDerivation { + path = "usr.sbin/uathload"; + extraPaths = [ + "sys/contrib/dev/uath" + ]; + outputs = [ + "out" + "debug" + ]; + extraNativeBuildInputs = [ + bintrans + ]; + postPatch = '' + substituteInPlace usr.sbin/uathload/uathload.c --replace-fail _PATH_FIRMWARE '"${builtins.placeholder "out"}/share/firmware"' + ''; +}