Skip to content

Commit

Permalink
polkit: move test-only deps to nativeCheckInputs
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d9429f)
  • Loading branch information
alyssais authored and vcunat committed Mar 20, 2023
1 parent 8b2be0d commit 97d4b22
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkgs/development/libraries/polkit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit 97d4b22

Please sign in to comment.