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
This commit is contained in:
parent
8be6c852be
commit
0a68123804
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue