mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
borgbackup: cleanup inputs
tox/detox are removed; they are used to test multiple python implementations in parallel, which isn't really appropriate for a Nix install check. Also, because these were added to the propagated build inputs, lots of unnecessary stuff ended up in the resulting closure. Note that removing tox does not imply tests are not run; they never were to begin with; this is a separate issue. This fixes https://github.com/NixOS/nixpkgs/issues/16171 Also, for "correctness" ordinary build-time dependencies are added to `buildInputs`; only inputs that are to be added to the python path are added to `propagatedBuildInputs`.
This commit is contained in:
parent
61027b7fce
commit
5195e0d70f
@ -15,11 +15,12 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# For building documentation:
|
# For building documentation:
|
||||||
sphinx sphinx_rtd_theme
|
sphinx sphinx_rtd_theme
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
buildInputs = [
|
||||||
acl lz4 openssl
|
acl lz4 openssl python3Packages.setuptools_scm
|
||||||
] ++ (with python3Packages; [
|
];
|
||||||
cython msgpack llfuse tox detox setuptools_scm
|
propagatedBuildInputs = with python3Packages; [
|
||||||
]);
|
cython llfuse msgpack
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export BORG_OPENSSL_PREFIX="${openssl.dev}"
|
export BORG_OPENSSL_PREFIX="${openssl.dev}"
|
||||||
|
Loading…
Reference in New Issue
Block a user