From c653a0d2760566a2439f16f931a4302042a17dac Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sun, 20 Aug 2023 14:31:11 -0500 Subject: [PATCH] chore: update for new tmpl Signed-off-by: jolheiser --- template/flake.nix | 2 +- tmpl.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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