summary refs log tree commit diff
path: root/pkgs/tools/filesystems/sshfs-fuse/default.nix
diff options
context:
space:
mode:
authorDavid Guibert <david.guibert@gmail.com>2011-08-09 20:38:55 +0000
committerDavid Guibert <david.guibert@gmail.com>2011-08-09 20:38:55 +0000
commit1e4cb4f0eb04a0598f33705b3b3c636154f43386 (patch)
tree0860f963f6f0112aa604435bdbd70a0a582062bc /pkgs/tools/filesystems/sshfs-fuse/default.nix
parent094c52f66d9a1e14779ba2add266803cdde1589b (diff)
downloadnixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar.gz
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar.bz2
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar.lz
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar.xz
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.tar.zst
nixpkgs-1e4cb4f0eb04a0598f33705b3b3c636154f43386.zip
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
Diffstat (limited to 'pkgs/tools/filesystems/sshfs-fuse/default.nix')
-rw-r--r--pkgs/tools/filesystems/sshfs-fuse/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/sshfs-fuse/default.nix b/pkgs/tools/filesystems/sshfs-fuse/default.nix
index 92e7d854fd8..606914cd976 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;