@@ -6,7 +6,7 @@ with python3.pkgs;
66
77let
88
9− runtimeDeps = [
9+ runtimeDeps = ps: with ps; [
1010 certifi
1111 setuptools
1212 pip
@@ -14,7 +14,7 @@ let
1414 virtualenv-clone
1515 ];
1616
17− pythonEnv = python3.withPackages(ps: with ps; runtimeDeps);
17+ pythonEnv = python3.withPackages runtimeDeps;
1818
1919in buildPythonApplication rec {
2020 pname = "pipenv";
@@ -36,7 +36,7 @@ in buildPythonApplication rec {
3636 --replace "sys.executable" "'${pythonEnv.interpreter}'"
3737 '';
3838
39− propagatedBuildInputs = runtimeDeps;
39+ propagatedBuildInputs = runtimeDeps python3.pkgs;
4040
4141 doCheck = true;
4242 checkPhase = ''