From 426b2ed9c8233356695d27398bd2d19f6b2eacf7 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 25 Dec 2016 16:17:33 +0100 Subject: [PATCH] pythonPackages.u-msgpack-python: use python.interpreter --- pkgs/development/python-modules/u-msgpack-python/default.nix | 5 +++-- 1 file 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 +}