From aaed98ef52613167e3eead1305d7b132fa5fe6c4 Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Tue, 12 Jul 2016 20:42:36 +0200 Subject: [PATCH] dev-env: Improve build inputs formatting. --- shell.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/shell.nix b/shell.nix index 121a7092..96dcc4c4 100644 --- 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) ''