# HG changeset patch # User Martin Bornhold # Date 2016-07-12 18:42:36 # Node ID 952323194497e16615912b8366f2ea22f62837d7 # Parent f4ca16c286878fe0a8d932d60ef326eb28ef75e9 dev-env: Improve build inputs formatting. diff --git a/shell.nix b/shell.nix --- a/shell.nix +++ b/shell.nix @@ -38,13 +38,15 @@ in enterprise.override (attrs: { # make development a little bit more convenient. src = null; - buildInputs = attrs.buildInputs ++ - pkgs.lib.optionals (hasVcsserver) vcsserver.propagatedNativeBuildInputs ++ [ - pythonPackages.bumpversion - pythonPackages.invoke - pythonPackages.ipdb - pythonPackages.locustio - ]; + buildInputs = + attrs.buildInputs ++ + pkgs.lib.optionals (hasVcsserver) vcsserver.propagatedNativeBuildInputs ++ + (with pythonPackages; [ + bumpversion + invoke + ipdb + locustio + ]); shellHook = attrs.shellHook + pkgs.lib.strings.optionalString (hasVcsserver) ''