hugo: add git as a dependency
Hugo needs Git to find meta informations such as the pubDate
This commit is contained in:
parent
889fb542e6
commit
cca23be027
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
{ buildCLIImage
|
{ buildCLIImage
|
||||||
, hugo
|
, hugo
|
||||||
|
, gitReallyMinimal
|
||||||
}:
|
}:
|
||||||
buildCLIImage {
|
buildCLIImage {
|
||||||
drv = hugo;
|
drv = hugo;
|
||||||
|
extraContents = [ gitReallyMinimal ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{ drv # derivation to build the image for
|
{ drv # derivation to build the image for
|
||||||
# Name of the binary to run by default
|
# Name of the binary to run by default
|
||||||
, binName ? (builtins.parseDrvName drv.name).name
|
, binName ? (builtins.parseDrvName drv.name).name
|
||||||
|
, extraContents ? []
|
||||||
, meta ? drv.meta
|
, meta ? drv.meta
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -17,7 +18,7 @@ let
|
||||||
# most program need TLS certs
|
# most program need TLS certs
|
||||||
cacert
|
cacert
|
||||||
drv
|
drv
|
||||||
];
|
] ++ extraContents;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
Cmd = [ "/bin/${binName}" ];
|
Cmd = [ "/bin/${binName}" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue