From 1b86b359e22a0c22b828085bdd3de86c9d910b5b Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 4 Mar 2024 12:27:09 +0300 Subject: [PATCH] Rename withDoctype to DOCTYPE and make it a proper element --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4ef2c01..3bbaeaf 100644 --- a/flake.nix +++ b/flake.nix @@ -36,7 +36,7 @@ call = builtins.scopedImport self; - withDoctype = body: "${body}"; + DOCTYPE = self.__findFile {} "!DOCTYPE html"; result = self.call /${builtins.getEnv "TARGET_FILE"};