From f483c598e009efc71331cb20e30b93581b2ec89c Mon Sep 17 00:00:00 2001 From: sajenim Date: Mon, 20 May 2024 13:04:07 +0800 Subject: [PATCH] Add nix development environment --- .envrc | 1 + .gitignore | 2 ++ shell.nix | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..4a4726a --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use_nix diff --git a/.gitignore b/.gitignore index 41e826d..ac6bdd2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ *.ai *.svg *.dxf + +.direnv diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..4f40e44 --- /dev/null +++ b/shell.nix @@ -0,0 +1,4 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + nativeBuildInputs = with pkgs.buildPackages; [ clojure leiningen openscad ]; +}