Commit e5b88700 authored by Markus Kowalewski's avatar Markus Kowalewski
Browse files

nfs-ganesha: build man pages

parent 4033dced
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, sphinx
, krb5, xfsprogs, jemalloc, dbus, libcap
, ntirpc, liburcu, bison, flex, nfs-utils, acl
} :
@@ -6,7 +6,7 @@
stdenv.mkDerivation rec {
  pname = "nfs-ganesha";
  version = "6.1";
  outputs = [ "out" "tools" ];
  outputs = [ "out" "man" "tools" ];

  src = fetchFromGitHub {
    owner = "nfs-ganesha";
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
    "-DENABLE_VFS_POSIX_ACL=ON"
    "-DUSE_ACL_MAPPING=ON"
    "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON"
    "-DUSE_MAN_PAGE=ON"
  ];

  nativeBuildInputs = [
@@ -30,6 +31,7 @@ stdenv.mkDerivation rec {
    pkg-config
    bison
    flex
    sphinx
  ];

  buildInputs = [
@@ -63,6 +65,6 @@ stdenv.mkDerivation rec {
    platforms = platforms.linux;
    license = licenses.lgpl3Plus;
    mainProgram = "ganesha.nfsd";
    outputsToInstall = [ "out" "tools" ];
    outputsToInstall = [ "out" "man" "tools" ];
  };
}