From 5d74f31c9825ecaf19267e1b9909c3f16e1ed3c9 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 1 Nov 2024 14:50:54 +0100 Subject: [PATCH] flake: add shell.nix --- shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c54b63d --- /dev/null +++ b/shell.nix @@ -0,0 +1,21 @@ +{ + mkShellNoCC, + git, + writeShellApplication, +}: +mkShellNoCC { + name = "nichts"; + + DIRENV_LOG_FORMAT = ""; + + packages = [ + git # take a guess + + (writeShellApplication { + name = "update"; + text = '' + nix flake update && git commit flake.lock -m "flake: bump inputs" + ''; + }) + ]; +}