From 8e24aa9149d4c93b25f8d5a9315376c0b7b75b39 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 5 Jan 2019 15:22:36 +0100 Subject: [PATCH] honcho: native fixes --- pkgs/tools/system/honcho/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/system/honcho/default.nix b/pkgs/tools/system/honcho/default.nix index d42a6488c7f1..fcdcc23961b5 100644 --- a/pkgs/tools/system/honcho/default.nix +++ b/pkgs/tools/system/honcho/default.nix @@ -18,19 +18,19 @@ pythonPackages.buildPythonApplication rec { sha256 = "11bd87474qpif20xdcn0ra1idj5k16ka51i658wfpxwc6nzsn92b"; }; - buildInputs = with pythonPackages; [ jinja2 pytest mock coverage ]; + checkInputs = with pythonPackages; [ jinja2 pytest mock coverage ]; buildPhase = '' ${python.interpreter} setup.py build ''; installPhase = '' - mkdir -p "$out/lib/${python.libPrefix}/site-packages" + mkdir -p "$out/${python.sitePackages}" - export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH" + export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH" - ${python}/bin/${python.executable} setup.py install \ - --install-lib=$out/lib/${python.libPrefix}/site-packages \ + ${python.interpreter} setup.py install \ + --install-lib=$out/${python.sitePackages} \ --prefix="$out" '';