refactor: replace flake-parts, devenv etc. with rensa

This commit is contained in:
technofab 2025-12-14 14:56:40 +01:00
parent 5a7053afcb
commit 0414493963
No known key found for this signature in database
16 changed files with 443 additions and 602 deletions

33
nix/repo/devShells.nix Normal file
View file

@ -0,0 +1,33 @@
{
inputs,
cell,
...
}: let
inherit (inputs) pkgs devshell treefmt;
inherit (cell) soonix;
in {
default = devshell.mkShell {
imports = [soonix.devshellModule];
packages = with pkgs; [
(treefmt.mkWrapper pkgs {
programs = {
alejandra.enable = true;
mdformat.enable = true;
gofmt.enable = true;
};
settings.formatter.mdformat.command = let
pkg = pkgs.python3.withPackages (p: [
p.mdformat
p.mdformat-mkdocs
]);
in "${pkg}/bin/mdformat";
})
gcc
go
gopls
delve
go-junit-report
gocover-cobertura
];
};
}