mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-03 19:17:38 +03:00
Merge pull request #115319 from kalekseev/macos/bindfs
bindfs: enable darwin
This commit is contained in:
commit
a6aaf54b39
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, fuse, pkg-config }:
|
{ lib, stdenv, fetchurl, fuse, pkg-config, osxfuse }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.15.1";
|
version = "1.15.1";
|
||||||
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ fuse ];
|
buildInputs = if stdenv.isDarwin
|
||||||
|
then [ osxfuse ]
|
||||||
|
else [ fuse ];
|
||||||
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 New Issue
Block a user