# HG changeset patch # User Marcin Kuzminski # Date 2020-01-08 13:10:32 # Node ID b87f1db7492da25e7c864db99c2cc0cba954b2b7 # Parent 986125b8005173269530ad1e93dc26a4adcbcbf8 nix: don't inject invoke/bumpversion in default shell, we use our own py3 compat, and want to have an option to skip it diff --git a/shell.nix b/shell.nix --- a/shell.nix +++ b/shell.nix @@ -6,6 +6,7 @@ , doCheck ? false , sourcesOverrides ? {} , doDevelopInstall ? true +, doReleaseInstall ? false }: let @@ -69,11 +70,12 @@ in enterprise-ce.override (attrs: { # Add dependencies which are useful for the development environment. buildInputs = attrs.buildInputs ++ - (with ce-pythonPackages; [ - bumpversion - invoke - ipdb - ]); + (with ce-pythonPackages; + [ ipdb ] + ++ pkgs.lib.lists.optionals doReleaseInstall ( + [invoke bumpversion] + ) + ); # place to inject some required libs from develop installs propagatedBuildInputs =