2021-12-16 09:16:31 +00:00
|
|
|
# My usual toolchain for developing Hugo projects.
|
2025-01-29 04:48:19 +00:00
|
|
|
{ mkShell, callPackage, hugo, asciidoctor, pandoc, git, go, nodejs_latest
|
|
|
|
, imagemagick }:
|
2021-12-16 09:16:31 +00:00
|
|
|
|
2024-11-27 09:24:39 +00:00
|
|
|
let
|
|
|
|
nodejsDevshell = callPackage ./nodejs.nix { };
|
|
|
|
goDevshell = callPackage ./go.nix { };
|
2025-01-29 04:48:19 +00:00
|
|
|
in mkShell {
|
2021-12-16 09:16:31 +00:00
|
|
|
packages = [
|
2024-02-13 04:25:19 +00:00
|
|
|
asciidoctor # Some sites use this.
|
|
|
|
pandoc # Also these.
|
2021-12-16 09:16:31 +00:00
|
|
|
hugo # The main tool.
|
|
|
|
go # I might use Go modules which requires the Golang runtime.
|
|
|
|
git # VCS of my choice.
|
2023-07-14 06:44:16 +00:00
|
|
|
nodejs_latest # The supported NodeJS version.
|
2023-09-27 02:50:58 +00:00
|
|
|
imagemagick # Everyman's image processing framework.
|
2021-12-16 09:16:31 +00:00
|
|
|
];
|
2024-02-13 04:25:19 +00:00
|
|
|
|
2025-01-29 04:48:19 +00:00
|
|
|
inputsFrom = [ nodejsDevshell goDevshell ];
|
2021-12-16 09:16:31 +00:00
|
|
|
}
|