diff --git a/testdata/python/pipenv/devbox.json b/testdata/python/pipenv/devbox.json new file mode 100644 index 00000000000..00f919cf043 --- /dev/null +++ b/testdata/python/pipenv/devbox.json @@ -0,0 +1,9 @@ +{ + "packages": [ + "python310", + "pipenv" + ], + "shell": { + "init_hook": null + } +} \ No newline at end of file diff --git a/tmpl/shell.nix.tmpl b/tmpl/shell.nix.tmpl index f7b3ee54896..aa0af088932 100644 --- a/tmpl/shell.nix.tmpl +++ b/tmpl/shell.nix.tmpl @@ -44,4 +44,9 @@ mkShell { echo "PATH=$PATH" {{- end }} ''; + packages = [ + {{- range .DevPackages}} + {{.}} + {{end -}} + ]; }