mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
fuse: use macfuse-stubs instead on Darwin
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user