freebsd.uathload: init
Co-Authored-By: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
@@ -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"'
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user