mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
lib/builders: fix message for buildHugoSite
This commit is contained in:
parent
657afd19d6
commit
96ce8b83a8
@ -52,9 +52,9 @@
|
|||||||
# rely on the vendor folder within the source.
|
# rely on the vendor folder within the source.
|
||||||
vendorHash ? throw (
|
vendorHash ? throw (
|
||||||
if args' ? vendorSha256 then
|
if args' ? vendorSha256 then
|
||||||
"buildGoModule: Expect vendorHash instead of vendorSha256"
|
"buildHugoSite: Expect vendorHash instead of vendorSha256"
|
||||||
else
|
else
|
||||||
"buildGoModule: vendorHash is missing"
|
"buildHugoSite: vendorHash is missing"
|
||||||
),
|
),
|
||||||
|
|
||||||
# Whether to delete the vendor folder supplied with the source.
|
# Whether to delete the vendor folder supplied with the source.
|
||||||
@ -234,7 +234,7 @@ let
|
|||||||
(lib.optional (!proxyVendor) "-mod=vendor")
|
(lib.optional (!proxyVendor) "-mod=vendor")
|
||||||
++
|
++
|
||||||
lib.warnIf (builtins.elem "-trimpath" GOFLAGS)
|
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");
|
(lib.optional (!allowGoReference) "-trimpath");
|
||||||
inherit
|
inherit
|
||||||
CGO_ENABLED
|
CGO_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user