mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-13 00:19:00 +00:00
21 lines
611 B
Nix
21 lines
611 B
Nix
# My usual toolchain for developing Hugo projects.
|
|
{ mkShell, callPackage, hugo, asciidoctor, pandoc, git, go, nodejs_latest
|
|
, imagemagick }:
|
|
|
|
let
|
|
nodejsDevshell = callPackage ./nodejs.nix { };
|
|
goDevshell = callPackage ./go.nix { };
|
|
in mkShell {
|
|
packages = [
|
|
asciidoctor # Some sites use this.
|
|
pandoc # Also these.
|
|
hugo # The main tool.
|
|
go # I might use Go modules which requires the Golang runtime.
|
|
git # VCS of my choice.
|
|
nodejs_latest # The supported NodeJS version.
|
|
imagemagick # Everyman's image processing framework.
|
|
];
|
|
|
|
inputsFrom = [ nodejsDevshell goDevshell ];
|
|
}
|