fuse: use macfuse-stubs instead on Darwin

This commit is contained in:
midchildan
2021-03-23 23:15:56 +09:00
parent 55b7888f43
commit c595604bed
7 changed files with 18 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
{ lib, stdenv, fetchPypi, fetchpatch, buildPythonPackage, pkg-config, pytest, fuse, attr, which
, contextlib2, macfuse-stubs, DiskArbitration
, contextlib2
}:
buildPythonPackage rec {
@@ -21,9 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs =
lib.optionals stdenv.isLinux [ fuse ]
++ lib.optionals stdenv.isDarwin [ DiskArbitration macfuse-stubs ];
buildInputs = [ fuse ];
checkInputs = [ pytest which ] ++
lib.optionals stdenv.isLinux [ attr ];