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