From d0589a997c1481c0d4bd31242196054fe18c61f4 Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Tue, 19 Mar 2024 10:35:51 +0100 Subject: [PATCH] fix typstfmt --- modules/hooks.nix | 4 ++-- nix/tools.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/hooks.nix b/modules/hooks.nix index 36204179..5ed6884a 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -2901,8 +2901,8 @@ in typstfmt = { name = "typstfmt"; description = "format typst"; - package = tools.typst-fmt; - entry = "${hooks.typstfmt.package}/bin/typst-fmt"; + package = tools.typstfmt; + entry = "${hooks.typstfmt.package}/bin/typstfmt"; files = "\\.typ$"; }; vale = { diff --git a/nix/tools.nix b/nix/tools.nix index 75ef3a12..bf2c6152 100644 --- a/nix/tools.nix +++ b/nix/tools.nix @@ -72,7 +72,7 @@ , topiary ? null ## Added in nixpkgs on Dec 2, 2022 , treefmt , typos -, typst-fmt +, typstfmt , zprint , yamllint , writeScript @@ -147,7 +147,7 @@ in topiary treefmt typos - typst-fmt + typstfmt vale yamllint zprint