1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01: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 , 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;
}; };
} }