From 3a4c9d4b62213c7932ceb811c3278313ae099037 Mon Sep 17 00:00:00 2001 From: midchildan Date: Sat, 20 Mar 2021 03:45:03 +0900 Subject: [PATCH] llfuse: fix darwin build --- pkgs/development/python-modules/llfuse/default.nix | 4 ++-- pkgs/top-level/python-packages.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix index 6dffffd8b08..4e68beba532 100644 --- a/pkgs/development/python-modules/llfuse/default.nix +++ b/pkgs/development/python-modules/llfuse/default.nix @@ -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 ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2b35c242edb..9e2fbc0fec0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 {