diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 13:44:56 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-02 13:44:56 +0200 |
commit | 10948ed35a04d6cbe05819acf9903e5e7395375b (patch) | |
tree | e5b57b6ef3aec62686d087969d9ed441209f7751 /templates/latex/flake.nix | |
parent | fix(templates.nix): Adjust to the new `init` script (diff) | |
download | flake-templates-10948ed35a04d6cbe05819acf9903e5e7395375b.tar.gz flake-templates-10948ed35a04d6cbe05819acf9903e5e7395375b.zip |
feat(treewide): Also remove hard-coded values in the `templates/` dir
Diffstat (limited to '')
-rw-r--r-- | templates/latex/flake.nix | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |