From 92e69a74519e6a57cbdab1d3db17b210f096b9d3 Mon Sep 17 00:00:00 2001 From: Kenryu Shibata Date: Thu, 28 May 2026 01:15:40 +0900 Subject: [PATCH] moved out from abi dependent section --- flake.nix | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 79d148a..bc94add 100644 --- a/flake.nix +++ b/flake.nix @@ -30,16 +30,6 @@ ]; in { - templates = { - latex = { - path = ./templates/latex; - description = "Template for LaTeX"; - }; - pandoc = { - path = ./templates/pandoc; - description = "Template for Pandoc Markdown"; - }; - }; devShells.default = self.devShells.${system}.latex; devShells.latex = pkgs.stdenv.mkDerivation { inherit name; @@ -60,5 +50,17 @@ ]; }; } - ); + ) // { + templates = { + latex = { + path = ./templates/latex; + description = "Template for LaTeX"; + }; + pandoc = { + path = ./templates/pandoc; + description = "Template for Pandoc Markdown"; + }; + }; + defaultTemplate = self.templates.latex; + }; }