Add shell for Hugo development

This commit is contained in:
Gabriel Arazas 2021-12-16 17:16:31 +08:00
parent be63b23770
commit 4dc94df78e
2 changed files with 12 additions and 0 deletions

View File

@ -2,4 +2,5 @@
with pkgs; {
flatpak = callPackage ./flatpak.nix { };
hugo = callPackage ./hugo.nix { };
}

11
shells/hugo.nix Normal file
View File

@ -0,0 +1,11 @@
# My usual toolchain for developing Hugo projects.
{ mkShell, hugo, git, go, nodejs-16_x }:
mkShell {
packages = [
hugo # The main tool.
go # I might use Go modules which requires the Golang runtime.
git # VCS of my choice.
nodejs-16_x # The supported NodeJS version.
];
}