diff --git a/template/flake.nix b/template/flake.nix index 435bab0..80eaa09 100644 --- a/template/flake.nix +++ b/template/flake.nix @@ -15,7 +15,7 @@ in { devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ - {{- range $pkg := (splitList "," packages)}} + {{- range $pkg := (splitList "\n" packages)}} {{trim $pkg}} {{- end}} ]; diff --git a/tmpl.yaml b/tmpl.yaml index 153d2c9..965a5d6 100644 --- a/tmpl.yaml +++ b/tmpl.yaml @@ -1,8 +1,9 @@ prompts: - id: unstable label: Use unstable - help: Blank for stable, non-blank for unstable + type: confirm - id: packages label: Packages - help: nixpkgs delimited by comma + help: nixpkgs, one on each line + type: multi