polkit: move test-only deps to nativeCheckInputs

(cherry picked from commit 1d9429faa0)
This commit is contained in:
Alyssa Ross 2023-03-01 17:04:14 +00:00 committed by Vladimír Čunát
parent 8b2be0d6dd
commit 97d4b225da
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -73,13 +73,6 @@ stdenv.mkDerivation rec {
ninja
perl
rsync
(python3.pythonForBuild.withPackages (pp: with pp; [
dbus-python
(python-dbusmock.overridePythonAttrs (attrs: {
# Avoid dependency cycle.
doCheck = false;
}))
]))
# man pages
libxslt
@ -108,6 +101,13 @@ stdenv.mkDerivation rec {
nativeCheckInputs = [
dbus
(python3.pythonForBuild.withPackages (pp: with pp; [
dbus-python
(python-dbusmock.overridePythonAttrs (attrs: {
# Avoid dependency cycle.
doCheck = false;
}))
]))
];
mesonFlags = [