working devShell!
This commit is contained in:
parent
72a136dbd6
commit
8e2371ddf6
11 changed files with 21 additions and 19 deletions
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
perSystem = {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
name = "nichts";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
#inputsFrom = [config.treefmt.build.devShell];
|
||||
packages = with pkgs; [
|
||||
config.treefmt.build.wrapper # treewide formatter
|
||||
nil # nix language server
|
||||
alejandra
|
||||
git # take a guess
|
||||
statix # no idea
|
||||
deadnix # clean up unused nix code
|
||||
|
||||
(pkgs.writeShellApplication {
|
||||
name = "update";
|
||||
text = ''
|
||||
nix flake update && git commit flake.lock -m "flake: bump inputs"
|
||||
'';
|
||||
})
|
||||
(pkgs.writeShellApplication {
|
||||
name = "rebuild";
|
||||
text = ''
|
||||
nh os switch
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue