mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bindfs: Let mount
find bindfs
mount helper
When mount is used with mount-type "fuse.bindfs", it cannot find the mount helper. If mount can't find `mount.fuse.bindfs`, it executes the `mount.fuse` mount helper and passes `fuse.bindfs` as argument. Then `mount.fuse` tries to execute `bindfs` on its own, but it is not found in the PATH. By creating a `mount.fuse.bindfs` link to the `bindfs` executable, this problem is avoided because `mount` will just execute the `mount.fuse.bindfs` mount helper without `mount.fuse` in the middle.
This commit is contained in:
parent
d9b98b6b50
commit
d852a23662
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
||||
dontStrip = true;
|
||||
|
||||
buildInputs = [ fuse pkgconfig ];
|
||||
postFixup = ''
|
||||
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A FUSE filesystem for mounting a directory to another location";
|
||||
|
Loading…
Reference in New Issue
Block a user