mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
Add shell for Hugo development
This commit is contained in:
parent
be63b23770
commit
4dc94df78e
@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
with pkgs; {
|
with pkgs; {
|
||||||
flatpak = callPackage ./flatpak.nix { };
|
flatpak = callPackage ./flatpak.nix { };
|
||||||
|
hugo = callPackage ./hugo.nix { };
|
||||||
}
|
}
|
||||||
|
11
shells/hugo.nix
Normal file
11
shells/hugo.nix
Normal 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.
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user