From 47a69c646f8e82658177f21d9d2342a4045456a1 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 14 Nov 2021 13:30:14 -0800 Subject: [PATCH] qtile: fix qtile check command --- pkgs/applications/window-managers/qtile/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/qtile/default.nix b/pkgs/applications/window-managers/qtile/default.nix index e17cbce7e2bb..c831bc6907e7 100644 --- a/pkgs/applications/window-managers/qtile/default.nix +++ b/pkgs/applications/window-managers/qtile/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, python3, glib, cairo, pango, pkg-config, libxcb, xcbutilcursor }: +{ lib, fetchFromGitHub, python3, mypy, glib, cairo, pango, pkg-config, libxcb, xcbutilcursor }: let enabled-xcffib = cairocffi-xcffib: cairocffi-xcffib.override { @@ -52,6 +52,11 @@ let xkbcommon ]; + # for `qtile check`, needs `stubtest` and `mypy` commands + makeWrapperArgs = [ + "--suffix PATH : ${lib.makeBinPath [ mypy ]}" + ]; + doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure. meta = with lib; {