flake: add shell.nix

This commit is contained in:
Charlie Root 2024-11-01 14:50:54 +01:00
commit 5d74f31c98
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

21
shell.nix Normal file
View file

@ -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"
'';
})
];
}