nfs-ganesha: add tools output for mount.9P helper

The nfs-ganesha mount.9P helper is a standalone shell script that makes
some aspects of mounting a 9P filesystem easier, e.g. instead of:

mount -t 9p 192.168.10.2 /mnt -oaname=/home

it allows the familiar syntax:

mount -t 9P 192.168.10.2:/home /mnt

As the mount helper is independent of the server, it's added as
separate output.

+10
+10
pkgs/servers/nfs-ganesha/default.nix
··· 6 6 stdenv.mkDerivation rec { 7 7 pname = "nfs-ganesha"; 8 8 version = "5.7"; 9 + outputs = [ "out" "tools" ]; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "nfs-ganesha"; ··· 43 44 nfs-utils 44 45 ]; 45 46 47 + postPatch = '' 48 + substituteInPlace src/tools/mount.9P --replace "/bin/mount" "/usr/bin/env mount" 49 + ''; 50 + 46 51 postFixup = '' 47 52 patchelf --add-rpath $out/lib $out/bin/ganesha.nfsd 48 53 ''; 49 54 55 + postInstall = '' 56 + install -Dm755 $src/src/tools/mount.9P $tools/bin/mount.9P 57 + ''; 58 + 50 59 meta = with lib; { 51 60 description = "NFS server that runs in user space"; 52 61 homepage = "https://github.com/nfs-ganesha/nfs-ganesha/wiki"; ··· 54 63 platforms = platforms.linux; 55 64 license = licenses.lgpl3Plus; 56 65 mainProgram = "ganesha.nfsd"; 66 + outputsToInstall = [ "out" "tools" ]; 57 67 }; 58 68 }