From b159ed50695350430c8effa79796bd9f4836e79c Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Wed, 15 Nov 2017 16:52:26 +0100 Subject: [PATCH] borgbackup: Add acl library to build inputs on linux platform The acl libraray is only required by the borgbackup package if building on a linux platform. Adding it only in this case should be fine. Also see the conditional in the setup.py at [1]. [1] https://github.com/borgbackup/borg/blob/72232a9bd573aeb4818b36c9c8764b6008e9283e/setup.py#L768 --- pkgs/tools/backup/borg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/backup/borg/default.nix b/pkgs/tools/backup/borg/default.nix index 6395b91fa73..015f0524155 100644 --- a/pkgs/tools/backup/borg/default.nix +++ b/pkgs/tools/backup/borg/default.nix @@ -16,8 +16,8 @@ python3Packages.buildPythonApplication rec { sphinx guzzle_sphinx_theme ]; buildInputs = [ - acl lz4 openssl python3Packages.setuptools_scm - ]; + lz4 openssl python3Packages.setuptools_scm + ] ++ stdenv.lib.optionals stdenv.isLinux [ acl ]; propagatedBuildInputs = with python3Packages; [ cython llfuse msgpack ];