aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-22 11:16:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-22 11:19:10 -0700
commite787305ee978b5939f67dcea33593bc931a544aa (patch)
treed4ec9d2b8072c72dfd4e20eb4b717fb3905c2536 /flake.nix
parentref(tools/python): make mypy happy (diff)
downloadinfra-e787305ee978b5939f67dcea33593bc931a544aa.tar.gz
feat(templates): add a template for rust
To use it, run: ``` nix flake init -t github:fcuny/world#rust ```
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e7fff1b..0861a89 100644
--- a/flake.nix
+++ b/flake.nix
@@ -65,6 +65,8 @@
});
in
{
+ templates = import ./templates;
+
checks = forAllSystems (system:
let pkgs = nixpkgsFor.${system};
in