tmpls @main -
refs -
log -
-
https://git.jolheiser.com/tmpls.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmTiaf8ACgkQuFOtpdp7
v3rrGRAAxfhYZK/VUOYeS+H+jWcVBXQd0K7yEN4FnocBcwlRmNp+zWy+3viA53Q/
l4yXkLrpCiSuBo8GTmK/HMgRbP3UHKkJD/UL4n0VaKD4LiLgyASORsxlAa/uBqfS
WfOfhb8ysvI8Z6glKiQyANAzZZQpV5q6uXpGBRjQqnX3lDVmGhxyqmj5GRAbTTyh
wJcuNmyC0n3LBstgyRweYYjtLIErsiJEA+vqKspUbTDPS88kGxy0VvmR+PgqhfZY
54yqI/htvzbp0SLPXTW5tlCzTF9lZ8eYYpxhOk6SGBdvotPRne62QIY3TnWCMayF
csCdM2luNWeq7UEEaVBPN4sWKMUTscr5v1HN64vlnyCemDFKYOx92uDXiYHw9PMd
sNFFmpE7880oHdS7d46YJVtcjYujeGxQ1excYnz2VRu5VUzb3Z5xYOWWPHzYplkH
6z5KU61+vaAHZr5zobUagfe+NxQbMTnTBmHoCEXSeGnlQ69LPnH8w2X5BL83Q+jC
7e86q5h0iKxeA512VuQjXpdEWij++zkBTvGMecfgelny0rOkACkKIZhvtReYh4WQ
nzJQapATBsLQs1byQEJ5zSNeoFKl4CmXeupyQSCNlx2749bnxHEWdORibyjdzMsr
Ljw2PFXuVeXsaPAYsJyuX59JVPGlQANDfjubU3X4cRkmco79XDo=
=T3cG
-----END PGP SIGNATURE-----
diff --git a/template/flake.nix b/template/flake.nix
index 435bab04827e3b746ddcdc3f6300b9fb2ed73aba..80eaa0997ce96a488c44221c59781f8481c7aeea 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 "," packages)}}
+ {{- range $pkg := (splitList "\n" packages)}}
{{trim $pkg}}
{{- end}}
];
diff --git a/tmpl.yaml b/tmpl.yaml
index 153d2c981a60de3c916ee538183551876ae33b4d..965a5d67c1e67a7ee436a6acdd88cc8976b2fd9a 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