bindfs: Use fuse3 on linux

The configure script try fuse3 and fallback to fuse2 aka fuse attributes.
This commit is contained in:
Et7f3 2023-04-29 12:29:34 +02:00 committed by GitHub
parent 3285142084
commit 0f8c0221c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fuse, pkg-config }:
{ lib, stdenv, fetchurl, fuse, fuse3, pkg-config }:
stdenv.mkDerivation rec {
version = "1.17.2";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse ];
buildInputs = if stdenv.isDarwin then [ fuse ] else [ fuse3 ];
postFixup = ''
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
'';