freebsd.{zfsd,libdevdctl}: init (#389699)
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user