pythonPackages.scandir: Fix tests on non-CPython.

This commit is contained in:
Corbin 2019-08-31 07:16:05 -07:00 committed by Frederik Rietdijk
parent 98ef78326d
commit f1d6ed40a0

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "scandir";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 ="1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd";
};
checkPhase = "python test/run_tests.py";
checkPhase = "${python.interpreter} test/run_tests.py";
meta = with lib; {
description = "A better directory iterator and faster os.walk()";