pythonPackages.u-msgpack-python: use python.interpreter

This commit is contained in:
Frederik Rietdijk 2016-12-25 16:17:33 +01:00
parent b20fdff521
commit 426b2ed9c8

View File

@ -2,6 +2,7 @@
, lib
, fetchurl
, glibcLocales
, python
}:
let
@ -20,7 +21,7 @@ in buildPythonPackage rec {
buildInputs = [ glibcLocales ];
checkPhase = ''
python -m unittest discover
${python.interpreter} -m unittest discover
'';
meta = {
@ -29,4 +30,4 @@ in buildPythonPackage rec {
license = lib.licenses.mit;
};
}
}