From 96ce8b83a8c4ad5f6a6c59f7f70439100e0c55e9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 3 Sep 2024 15:12:37 +0800 Subject: [PATCH] lib/builders: fix message for buildHugoSite --- lib/builders/hugo-build-site/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/builders/hugo-build-site/default.nix b/lib/builders/hugo-build-site/default.nix index 386e3c20..a9d63e05 100644 --- a/lib/builders/hugo-build-site/default.nix +++ b/lib/builders/hugo-build-site/default.nix @@ -52,9 +52,9 @@ # rely on the vendor folder within the source. vendorHash ? throw ( if args' ? vendorSha256 then - "buildGoModule: Expect vendorHash instead of vendorSha256" + "buildHugoSite: Expect vendorHash instead of vendorSha256" else - "buildGoModule: vendorHash is missing" + "buildHugoSite: vendorHash is missing" ), # Whether to delete the vendor folder supplied with the source. @@ -234,7 +234,7 @@ let (lib.optional (!proxyVendor) "-mod=vendor") ++ lib.warnIf (builtins.elem "-trimpath" GOFLAGS) - "`-trimpath` is added by default to GOFLAGS by buildGoModule when allowGoReference isn't set to true" + "`-trimpath` is added by default to GOFLAGS by buildHugoSite when allowGoReference isn't set to true" (lib.optional (!allowGoReference) "-trimpath"); inherit CGO_ENABLED