flake: add shell.nix
This commit is contained in:
parent
0e597cf4ef
commit
5d74f31c98
1 changed files with 21 additions and 0 deletions
21
shell.nix
Normal file
21
shell.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue