From 34685a86b0ce6c3990af4dd23451306371985e15 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Jul 2022 13:23:43 +0200 Subject: [PATCH] python3Packages.cmd2: don't require vim for tests It causes a huge rebuild chain when updating vim, that affects, among others qemu and ceph. --- pkgs/development/python-modules/cmd2/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cmd2/default.nix b/pkgs/development/python-modules/cmd2/default.nix index 8a7f9a5e1c8a..79cd6187ddb2 100644 --- a/pkgs/development/python-modules/cmd2/default.nix +++ b/pkgs/development/python-modules/cmd2/default.nix @@ -12,7 +12,6 @@ , pythonOlder , setuptools-scm , typing-extensions -, vim , wcwidth }: @@ -47,7 +46,12 @@ buildPythonPackage rec { pytestCheckHook glibcLocales pytest-mock - vim + ]; + + disabledTests = [ + # don't require vim for tests, it causes lots of rebuilds + "test_find_editor_not_specified" + "test_transcript" ]; postPatch = ''