summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/u-msgpack-python
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-12-25 16:17:33 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2016-12-25 16:17:33 +0100
commit426b2ed9c8233356695d27398bd2d19f6b2eacf7 (patch)
tree6e2347694e5bfb65e9cbcd4f7e93e3d5150ea50d /pkgs/development/python-modules/u-msgpack-python
parentb20fdff5214e760205f7fccbce6848c545f12b0b (diff)
pythonPackages.u-msgpack-python: use python.interpreter
Diffstat (limited to 'pkgs/development/python-modules/u-msgpack-python')
-rw-r--r--pkgs/development/python-modules/u-msgpack-python/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix
index 1daf30d883a4..34d88d74c559 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
+}