Author: guibert
Date: Tue Aug  9 20:38:55 2011
New Revision: 28443
URL: https://svn.nixos.org/websvn/nix/?rev=28443&sc=1

Log:
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.

Modified:
   nixpkgs/trunk/pkgs/tools/filesystems/sshfs-fuse/default.nix

Modified: nixpkgs/trunk/pkgs/tools/filesystems/sshfs-fuse/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/tools/filesystems/sshfs-fuse/default.nix Tue Aug  9 
20:38:34 2011        (r28442)
+++ nixpkgs/trunk/pkgs/tools/filesystems/sshfs-fuse/default.nix Tue Aug  9 
20:38:55 2011        (r28443)
@@ -9,6 +9,10 @@
   };
   
   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;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to