From cf27d0a7c60a5bae315e1b21cc1bdc7cf68ed2ff Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 5 Aug 2020 18:16:10 -0300 Subject: Use tidy to format HTML More than to lint it :shrug: --- default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 2f10691..98ac3c3 100644 --- a/default.nix +++ b/default.nix @@ -33,7 +33,7 @@ in rec { }); docs = utils.baseTask.overrideAttrs (baseAttrs: { name = "${baseAttrs.name}-docs"; - buildInputs = [ jekyllEnv pkgs.html-tidy ]; + buildInputs = [ jekyllEnv pkgs.html-tidy pkgs.moreutils ]; buildPhase = '' patchShebangs . jekyll build -d $out @@ -59,6 +59,7 @@ in rec { jekyllEnv (pkgs.hunspellWithDicts (with pkgs.hunspellDicts; [ en-us ])) pkgs.html-tidy + pkgs.moreutils ]; }; publishScript = utils.overwritingPublishScript { -- cgit v1.2.3