From 4dc94df78eccbc64c0a8819b9c719f581d413634 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 16 Dec 2021 17:16:31 +0800 Subject: [PATCH] Add shell for Hugo development --- shells/default.nix | 1 + shells/hugo.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 shells/hugo.nix diff --git a/shells/default.nix b/shells/default.nix index ced1f8f7..048e3870 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -2,4 +2,5 @@ with pkgs; { flatpak = callPackage ./flatpak.nix { }; + hugo = callPackage ./hugo.nix { }; } diff --git a/shells/hugo.nix b/shells/hugo.nix new file mode 100644 index 00000000..f1e8274f --- /dev/null +++ b/shells/hugo.nix @@ -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. + ]; +}