freebsd.{zfsd,libdevdctl}: init (#389699)

This commit is contained in:
John Ericson
2025-03-18 10:39:03 -04:00
committed by GitHub
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,15 @@
{
lib,
mkDerivation,
}:
mkDerivation {
path = "lib/libdevdctl";
clangFixup = false;
outputs = [
"out"
"debug"
];
meta.platforms = lib.platforms.freebsd;
}
@@ -0,0 +1,40 @@
{
mkDerivation,
lib,
libgeom,
libzfs,
libdevdctl,
libsbuf,
libbsdxml,
}:
mkDerivation {
path = "cddl/usr.sbin/zfsd";
extraPaths = [
"sys/contrib/openzfs"
];
clangFixup = false;
ouptuts = [
"out"
"man"
"debug"
];
buildInputs = [
libgeom
libzfs
libdevdctl
libsbuf
libbsdxml
];
MK_TESTS = "no";
meta = {
mainProgram = "zfsd";
platforms = lib.platforms.freebsd;
license = with lib.licenses; [
cddl
bsd2
];
};
}