1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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;
};
}
}