diff options
author | Winter <winter@winter.cafe> | 2022-08-06 12:32:04 -0400 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-08-13 14:09:43 -0400 |
commit | 19adc3341cf3adfdbd408646aedbf8e62ce3eece (patch) | |
tree | eee99752039b7cba720978e962c0f3ee1685ebf4 /pkgs/development/python-modules/readlike/default.nix | |
parent | e8fbb38a51380fe6e56351b5750dddcccff79c4c (diff) |
treewide: migrate to pythonPackages.unittestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/readlike/default.nix')
-rw-r--r-- | pkgs/development/python-modules/readlike/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/readlike/default.nix b/pkgs/development/python-modules/readlike/default.nix index f2e3d11e7edd8..fae5b1a78720a 100644 --- a/pkgs/development/python-modules/readlike/default.nix +++ b/pkgs/development/python-modules/readlike/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -15,9 +15,9 @@ buildPythonPackage rec { sha256 = "1mw8j8ads8hqdbz42siwpffi4wi5s33z9g14a5c2i7vxp8m68qc1"; }; - checkPhase = '' - ${python.interpreter} -m unittest discover -s tests - ''; + checkInputs = [ unittestCheckHook ]; + + unittestFlagsArray = [ "-s" "tests" ]; meta = with lib; { description = "GNU Readline-like line editing module"; |