From 00516e3f61c6c7e3ba4cfd04aa7c818e955494ab Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 14:48:59 +0200 Subject: Fix(flake): Remove templates for flake-utils system function --- flake.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6d63eb8..18b6740 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,17 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages."${system}"; in { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + nil + alejandra + statix + ltex-ls + cocogitto + ]; + }; + }) + // { templates = { rust = { path = ./rust; @@ -41,17 +52,7 @@ welcomeText = "Please customize the text in the flake.nix and LICENSE.spdx files; Look at the TODO marks.\n Also run `git init` and `cog install-hook commit-msg`"; }; }; - - devShells.default = pkgs.mkShell { - packages = with pkgs; [ - nil - alejandra - statix - ltex-ls - cocogitto - ]; - }; - }); + }; } # vim: ts=2 -- cgit 1.4.1