2021-12-16 09:16:31 +00:00
|
|
|
# My usual toolchain for developing Hugo projects.
|
2023-09-27 02:50:58 +00:00
|
|
|
{ mkShell
|
2024-11-27 09:24:39 +00:00
|
|
|
, callPackage
|
2023-09-27 02:50:58 +00:00
|
|
|
, hugo
|
2024-02-13 04:25:19 +00:00
|
|
|
, asciidoctor
|
|
|
|
, pandoc
|
2023-09-27 02:50:58 +00:00
|
|
|
, 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 { };
|
|
|
|
in
|
2021-12-16 09:16:31 +00:00
|
|
|
mkShell {
|
|
|
|
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
|
|
|
|
|
|
|
inputsFrom = [
|
2024-11-27 09:24:39 +00:00
|
|
|
nodejsDevshell
|
|
|
|
goDevshell
|
2024-02-13 04:25:19 +00:00
|
|
|
];
|
2021-12-16 09:16:31 +00:00
|
|
|
}
|