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:
parent
b20fdff521
commit
426b2ed9c8
|
@ -2,6 +2,7 @@
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, glibcLocales
|
, glibcLocales
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -20,7 +21,7 @@ in buildPythonPackage rec {
|
||||||
buildInputs = [ glibcLocales ];
|
buildInputs = [ glibcLocales ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
python -m unittest discover
|
${python.interpreter} -m unittest discover
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -29,4 +30,4 @@ in buildPythonPackage rec {
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue