From dcadf3cb5b9ca0f65f86a4b8f38a5e846b069641 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 1 May 2025 10:20:16 +0300 Subject: [PATCH] fix(3p/overlays): downgrade hugo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, the website just shows a white page with a "This line is from …" message. Downgrading hugo to 0.145.0 fixes it. Change-Id: I5a4e2b5d00d3772580daf8d863375471979a5825 Reviewed-on: https://cl.snix.dev/c/snix/+/30368 Autosubmit: Florian Klink Reviewed-by: Bence Nemes Tested-by: besadii --- third_party/overlays/tvl.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 1b1f35380..0375f7b8f 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -53,4 +53,18 @@ depot.nix.readTree.drvTargets { }) else super.fuse; + + # https://github.com/thuliteio/doks/pull/1356 + hugo = super.hugo.overrideAttrs (old: { + version = "0.145.0"; + + src = super.fetchFromGitHub { + owner = "gohugoio"; + repo = "hugo"; + tag = "v0.145.0"; + hash = "sha256-5SV6VzNWGnFQBD0fBugS5kKXECvV1ZE7sk7SwJCMbqY="; + }; + + vendorHash = "sha256-aynhBko6ecYyyMG9XO5315kLerWDFZ6V8LQ/WIkvC70="; + }); }