From 10948ed35a04d6cbe05819acf9903e5e7395375b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 2 Apr 2024 13:44:56 +0200 Subject: feat(treewide): Also remove hard-coded values in the `templates/` dir --- templates/latex/flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/latex/flake.nix') diff --git a/templates/latex/flake.nix b/templates/latex/flake.nix index 0247cce..a87c795 100644 --- a/templates/latex/flake.nix +++ b/templates/latex/flake.nix @@ -72,7 +72,7 @@ pkgs = nixpkgs.legacyPackages.${system}; # This version is set automatically on `cog bump --auto`; - version = "v1.0.0"; # GUIDING VERSION STRING + version = "v%INIT_APPLICATION_VERSION"; # GUIDING VERSION STRING # TODO reduce to the needed ones texlive = pkgs.texlive.combined.scheme-full; @@ -80,7 +80,7 @@ treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;}; build = pkgs.stdenv.mkDerivation { - pname = "TODO"; + pname = "%INIT_APPLICATION_NAME"; inherit version; src = ./.; @@ -98,7 +98,7 @@ ''; installPhase = '' - install -D ./build/main.pdf $out/TODO; + install -D ./build/main.pdf "$out/%INIT_APPLICATION_NAME"; ''; }; in { -- cgit 1.4.1