llfuse: fix darwin build

This commit is contained in:
midchildan 2021-03-20 03:45:03 +09:00
parent fa6c8b656b
commit 3a4c9d4b62
No known key found for this signature in database
GPG key ID: D9A5748BACC6E3C2
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -3954,6 +3954,7 @@ in {
llfuse = callPackage ../development/python-modules/llfuse {
inherit (pkgs) fuse;
inherit (pkgs.darwin.apple_sdk.frameworks) DiskArbitration;
};
llvmlite = callPackage ../development/python-modules/llvmlite {