docs/hugo-build-module: update package list

This commit is contained in:
Gabriel Arazas 2024-11-07 10:25:15 +08:00
parent ac6b9a9023
commit 96ba0a0702
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 7 additions and 9 deletions

View File

@ -92,12 +92,7 @@ in
inherit pkgs; inherit pkgs;
modules = [ modules = [
( (
{ { lib, ... }:
config,
lib,
pkgs,
...
}:
{ {
wrappers.asciidoctor = { wrappers.asciidoctor = {
arg0 = lib.getExe' gems "asciidoctor"; arg0 = lib.getExe' gems "asciidoctor";
@ -129,9 +124,8 @@ in
vendorHash = "sha256-qsmXolxEcYjY2jwIlPRqir5gE8TeVknPGIGF4g89x54="; vendorHash = "sha256-qsmXolxEcYjY2jwIlPRqir5gE8TeVknPGIGF4g89x54=";
buildInputs = with pkgs; [ nativeBuildInputs = [
asciidoctorWrapped asciidoctorWrapped
git
gems gems
gems.wrappedRuby gems.wrappedRuby
]; ];

View File

@ -29,6 +29,7 @@
{ {
name ? "${args'.pname}-${args'.version}", name ? "${args'.pname}-${args'.version}",
buildInputs ? [ ],
nativeBuildInputs ? [ ], nativeBuildInputs ? [ ],
passthru ? { }, passthru ? { },
@ -210,10 +211,13 @@ let
// { // {
nativeBuildInputs = [ nativeBuildInputs = [
hugo hugo
git
go go
] ++ nativeBuildInputs; ] ++ nativeBuildInputs;
buildInputs = [
git
] ++ buildInputs;
inherit (go) GOOS GOARCH; inherit (go) GOOS GOARCH;
GOFLAGS = GOFLAGS =