linkchecker: fix bad interaction with python3

Previously, `nix-shell -p linkchecker python3` would lead to a broken
`python3` command. That's because Python 2 packages would pollute the
environment and confuse the interpreter. `linkchecker` has propagated
build inputs. So the solution is to use `pythonPath` instead, to avoid
the pollution.
This commit is contained in:
Mathieu Boespflug 2019-05-04 19:09:31 +02:00 committed by Profpatsch
parent 83d6250145
commit 361e9185c8

View File

@ -19,7 +19,7 @@ python2Packages.buildPythonApplication rec {
version = "9.3.1"; version = "9.3.1";
nativeBuildInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
propagatedBuildInputs = (with python2Packages; [ pythonPath = (with python2Packages; [
requests requests
]) ++ [ gettext ]; ]) ++ [ gettext ];