Skip to content

Commit

Permalink
pythonPackages.hiredis: fix tests
Browse files Browse the repository at this point in the history
just requires the source-directory-hiding trick
  • Loading branch information
risicle authored and jonringer committed Sep 10, 2020
1 parent 8f6436a commit 483fa86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/hiredis/default.nix
Expand Up @@ -16,8 +16,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ redis ];

checkPhase = ''
mv hiredis _hiredis
${python.interpreter} test.py
'';
pythonImportsCheck = [ "hiredis" ];

meta = with stdenv.lib; {
description = "Wraps protocol parsing code in hiredis, speeds up parsing of multi bulk replies";
Expand Down

0 comments on commit 483fa86

Please sign in to comment.