From 43337d4f93da9348d744112fa351e110986e3113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 31 May 2022 01:26:14 +0000 Subject: [PATCH] borgbackup: need either pyfuse3 or llfuse The former is preferred according to https://borgbackup.readthedocs.io/en/1.2.0/installation.html#dependencies but only works on Linux since it depends on libfuse3. --- pkgs/tools/backup/borgbackup/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/backup/borgbackup/default.nix b/pkgs/tools/backup/borgbackup/default.nix index 8202786dde84..85fac81795ab 100644 --- a/pkgs/tools/backup/borgbackup/default.nix +++ b/pkgs/tools/backup/borgbackup/default.nix @@ -44,11 +44,9 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ cython - llfuse msgpack packaging - ] ++ lib.optionals (!stdenv.isDarwin) [ - pyfuse3 + (if stdenv.isLinux then pyfuse3 else llfuse) ]; preConfigure = ''