Skip to content

Commit 97d4b22

Browse files
alyssaisvcunat
authored andcommitted
polkit: move test-only deps to nativeCheckInputs
(cherry picked from commit 1d9429f)
1 parent 8b2be0d commit 97d4b22

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pkgs/development/libraries/polkit/default.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ stdenv.mkDerivation rec {
7373
ninja
7474
perl
7575
rsync
76-
(python3.pythonForBuild.withPackages (pp: with pp; [
77-
dbus-python
78-
(python-dbusmock.overridePythonAttrs (attrs: {
79-
# Avoid dependency cycle.
80-
doCheck = false;
81-
}))
82-
]))
8376

8477
# man pages
8578
libxslt
@@ -108,6 +101,13 @@ stdenv.mkDerivation rec {
108101

109102
nativeCheckInputs = [
110103
dbus
104+
(python3.pythonForBuild.withPackages (pp: with pp; [
105+
dbus-python
106+
(python-dbusmock.overridePythonAttrs (attrs: {
107+
# Avoid dependency cycle.
108+
doCheck = false;
109+
}))
110+
]))
111111
];
112112

113113
mesonFlags = [

0 commit comments

Comments
 (0)