From 1e4cb4f0eb04a0598f33705b3b3c636154f43386 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Tue, 9 Aug 2011 20:38:55 +0000 Subject: [PATCH] sshfs: link sshfs to mount.sshfs mount.fuse is not able to find sshfs. So calling $ mount -t sshfs user@host:path mount/point will search for mount.sshfs to do the mount. svn path=/nixpkgs/trunk/; revision=28443 --- pkgs/tools/filesystems/sshfs-fuse/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/filesystems/sshfs-fuse/default.nix b/pkgs/tools/filesystems/sshfs-fuse/default.nix index 92e7d854fd88..606914cd976e 100644 --- a/pkgs/tools/filesystems/sshfs-fuse/default.nix +++ b/pkgs/tools/filesystems/sshfs-fuse/default.nix @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { }; buildInputs = [ pkgconfig glib fuse ]; + postInstall = '' + ensureDir $out/sbin + ln -sf $out/bin/sshfs $out/sbin/mount.sshfs + ''; meta = { homepage = http://fuse.sourceforge.net/sshfs.html;