From 87d58292eb7ee41dbf782d0740d0b6e989cd6d77 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Sun, 29 Oct 2023 11:28:18 +1000 Subject: [PATCH] add nix shell and direnv --- .envrc | 1 + shell.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..8f0572d --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import { } }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + hugo + ]; +} +