Skip to content

Commit

Permalink
pythonPackages.u-msgpack-python: use python.interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Dec 25, 2016
1 parent b20fdff commit 426b2ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/u-msgpack-python/default.nix
Expand Up @@ -2,6 +2,7 @@
, lib
, fetchurl
, glibcLocales
, python
}:

let
Expand All @@ -20,7 +21,7 @@ in buildPythonPackage rec {
buildInputs = [ glibcLocales ];

checkPhase = ''
python -m unittest discover
${python.interpreter} -m unittest discover
'';

meta = {
Expand All @@ -29,4 +30,4 @@ in buildPythonPackage rec {
license = lib.licenses.mit;
};

}
}

0 comments on commit 426b2ed

Please sign in to comment.