git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #89293 from das-g/refactor-pipenv-runtimeDeps

pipenv: refactor runtimeDeps

commitd626d15282b8af4d8cd6e7395ef175895ad30e06 authorLassulus <github@lassul.us> dateSat 22 Aug 2020, 16:11 (6 years ago) parentf8e67459581a08
1 file changed+3−3
pkgs/development/tools/pipenv/default.nix+3−3
pkgs/development/tools/pipenv/default.nix+3−3
@@ -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 = ''