diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix index 1daf30d883a..34d88d74c55 100644 --- a/pkgs/development/python-modules/u-msgpack-python/default.nix +++ b/pkgs/development/python-modules/u-msgpack-python/default.nix @@ -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; }; -} \ No newline at end of file +}