Skip to content

Commit

Permalink
Merge pull request #89293 from das-g/refactor-pipenv-runtimeDeps
Browse files Browse the repository at this point in the history
pipenv: refactor runtimeDeps
  • Loading branch information
Lassulus committed Aug 22, 2020
2 parents f8e6745 + 9581a08 commit d626d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/pipenv/default.nix
Expand Up @@ -6,15 +6,15 @@ with python3.pkgs;

let

runtimeDeps = [
runtimeDeps = ps: with ps; [
certifi
setuptools
pip
virtualenv
virtualenv-clone
];

pythonEnv = python3.withPackages(ps: with ps; runtimeDeps);
pythonEnv = python3.withPackages runtimeDeps;

in buildPythonApplication rec {
pname = "pipenv";
Expand All @@ -36,7 +36,7 @@ in buildPythonApplication rec {
--replace "sys.executable" "'${pythonEnv.interpreter}'"
'';

propagatedBuildInputs = runtimeDeps;
propagatedBuildInputs = runtimeDeps python3.pkgs;

doCheck = true;
checkPhase = ''
Expand Down

0 comments on commit d626d15

Please sign in to comment.