working devShell!

This commit is contained in:
Charlie Root 2024-07-22 00:05:07 +02:00
commit 8e2371ddf6
11 changed files with 21 additions and 19 deletions

View file

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