mirror of
https://gitlab.com/TECHNOFAB/nixtest.git
synced 2025-12-16 20:13:53 +01:00
refactor: replace flake-parts, devenv etc. with rensa
This commit is contained in:
parent
5a7053afcb
commit
0414493963
16 changed files with 443 additions and 602 deletions
33
nix/repo/devShells.nix
Normal file
33
nix/repo/devShells.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue