mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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 {
|
||||
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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user