summary refs log tree commit diff
path: root/pkgs/tools/backup/borg
diff options
context:
space:
mode:
authorMartin Bornhold <mb@bo-tech.de>2017-11-15 16:52:26 +0100
committerMartin Bornhold <mb@bo-tech.de>2017-11-15 17:49:33 +0100
commitb159ed50695350430c8effa79796bd9f4836e79c (patch)
tree726ab075a60b171cfe0575a690f62e18085bad34 /pkgs/tools/backup/borg
parentc9b8bbd039ea4faae2868f3ca132455829b4e4ef (diff)
downloadnixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar.gz
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar.bz2
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar.lz
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar.xz
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.tar.zst
nixpkgs-b159ed50695350430c8effa79796bd9f4836e79c.zip
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
Diffstat (limited to 'pkgs/tools/backup/borg')
-rw-r--r--pkgs/tools/backup/borg/default.nix4
1 files 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
   ];