forgejo/shell.nix
Gabor Pihaj 32429c0b13 chore: use interactive sqlite via nix (#10439)
This nix config change improves experience when using sqlite3 cli to explore the test DB.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10439
Reviewed-by: famfo <famfo@famfo.xyz>
Reviewed-by: elle <0xllx0@noreply.codeberg.org>
Co-authored-by: Gabor Pihaj <gabor.pihaj@gmail.com>
Co-committed-by: Gabor Pihaj <gabor.pihaj@gmail.com>
2025-12-17 13:20:33 +01:00

29 lines
324 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
name = "forgejo";
nativeBuildInputs = with pkgs; [
# generic
git
git-lfs
gnumake
gnused
gnutar
gzip
# frontend
nodejs
# backend
gofumpt
sqlite-interactive
go
gopls
gotestsum
# tests
openssh
];
}