bindfs: Use fuse3 on linux
The configure script try fuse3 and fallback to fuse2 aka fuse attributes.
This commit is contained in:
parent
3285142084
commit
0f8c0221c4
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
{ lib, stdenv, fetchurl, fuse, fuse3, pkg-config }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.17.2";
|
version = "1.17.2";
|
||||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ fuse ];
|
buildInputs = if stdenv.isDarwin then [ fuse ] else [ fuse3 ];
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue