From 917747939b41fcfe82642875762b4373367dcbb8 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 25 Jul 2023 10:13:51 -0700 Subject: [PATCH] Configure Nix environment for /data --- data/.envrc | 1 + data/shell.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 data/.envrc create mode 100644 data/shell.nix diff --git a/data/.envrc b/data/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/data/.envrc @@ -0,0 +1 @@ +use nix diff --git a/data/shell.nix b/data/shell.nix new file mode 100644 index 0000000..7b23109 --- /dev/null +++ b/data/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import {}}: + +pkgs.mkShell { + buildInputs = with pkgs; [ + go + gopls + gnumake + ]; + shellHook = '' + export PATH="$HOME/go/bin:$PATH" + ''; +}