From 0a0815c8a63ce80a386b9c6cc9340cb2d507ed47 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Wed, 25 Oct 2023 10:51:54 -0400 Subject: [PATCH] house keeping --- .env | 0 .envrc | 6 ++++++ .gitignore | 3 ++- shell.nix | 10 ++++++++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .env create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.env b/.env new file mode 100644 index 0000000..e69de29 diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..9d142d2 --- /dev/null +++ b/.envrc @@ -0,0 +1,6 @@ +dotenv +#[ -d .venv ] || (python -m venv .venv; python -m pip install rbtools) +#[ -f .venv/bin/activate ] && source .venv/bin/activate +watch_file devShell.nix shell.nix flake.nix +#use flake || use nix + diff --git a/.gitignore b/.gitignore index a23f68e..085e004 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.direnv/ .nvimlog -*.priv.* \ No newline at end of file +*.priv.* diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..e74aab0 --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + # nativeBuildInputs is usually what you want -- tools you need to run + nativeBuildInputs = with pkgs.buildPackages; [ + ripgrep + envsubst + ]; + DOCKER_BUILDKIT = 1; +}