From 3c041d57e31fface55bd9103a1f73af663854955 Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 23 Jun 2022 03:44:01 -0400 Subject: shell.nix: Expose hugo externally --- shell.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 8af39b1..7b54486 100644 --- a/shell.nix +++ b/shell.nix @@ -48,9 +48,12 @@ let description = "A fast and modern static website engine"; maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ]; }; - }) { }; + }) { }; in mkShellPure { + + inherit hugo; + packages = [ hugo validatornu @@ -63,6 +66,7 @@ in mkShellPure { pkgs.subversion pkgs.yj ]; + shellHook = '' export PS1='\h (${name}) \W \$ ' ''; -- cgit v1.2.3