From 6b9ac13bf77d73a436a37e3297fef10141debe7e Mon Sep 17 00:00:00 2001 From: Sig Date: Wed, 3 Jan 2024 22:41:42 -0800 Subject: [PATCH] nix bits (#2) --- .envrc | 4 ++++ shell.nix | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1443b8e --- /dev/null +++ b/.envrc @@ -0,0 +1,4 @@ +use nix + +export WORKSPACE="$(pwd)" +export GOFLAGS="-count=1" diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..6d05188 --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import {} }: + +with pkgs; + +mkShell { + buildInputs = [ + go + gopls + runit + ]; +}