diff options
author | Nick Cao <nickcao@nichi.co> | 2023-08-18 09:40:13 +0800 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-08-18 20:38:10 +0200 |
commit | 0a68123804c8d8d2887e6572a1150cabd1b2c491 (patch) | |
tree | ad6710636c80c64947a36b26bb42a3dc92690253 /pkgs/tools/backup/borgbackup | |
parent | 8be6c852be8e6c2e1d6c0e48ea6e44ef2364e280 (diff) |
borgbackup: use python3Packages instead of python3.pkgs to fix cross compilation
See also: Package sets within derivations (i.e. python3.pkgs) are not spliced https://github.com/NixOS/nixpkgs/issues/211340
Diffstat (limited to 'pkgs/tools/backup/borgbackup')
-rw-r--r-- | pkgs/tools/backup/borgbackup/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/backup/borgbackup/default.nix b/pkgs/tools/backup/borgbackup/default.nix index 5104dfd37512a..e35950bfdfa36 100644 --- a/pkgs/tools/backup/borgbackup/default.nix +++ b/pkgs/tools/backup/borgbackup/default.nix @@ -6,7 +6,7 @@ , lz4 , openssh , openssl -, python3 +, python3Packages , xxHash , zstd , installShellFiles @@ -14,7 +14,7 @@ , fetchPypi }: -python3.pkgs.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "borgbackup"; version = "1.2.4"; format = "pyproject"; @@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec { --replace "0o4755" "0o0755" ''; - nativeBuildInputs = with python3.pkgs; [ + nativeBuildInputs = with python3Packages; [ cython setuptools-scm pkgconfig @@ -55,7 +55,7 @@ python3.pkgs.buildPythonApplication rec { acl ]; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python3Packages; [ msgpack packaging (if stdenv.isLinux then pyfuse3 else llfuse) @@ -72,7 +72,7 @@ python3.pkgs.buildPythonApplication rec { --zsh scripts/shell_completions/zsh/_borg ''; - nativeCheckInputs = with python3.pkgs; [ + nativeCheckInputs = with python3Packages; [ e2fsprogs py python-dateutil |