bindfs: enable darwin
This commit is contained in:
parent
f066807b58
commit
7c3f2c0ed6
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
||||
{ lib, stdenv, fetchurl, fuse, pkg-config, osxfuse }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.15.1";
|
||||
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ fuse ];
|
||||
buildInputs = if stdenv.isDarwin
|
||||
then [ osxfuse ]
|
||||
else [ fuse ];
|
||||
postFixup = ''
|
||||
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user