chore: create shell.nix and update flake.* (#8129)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8129
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
This commit is contained in:
famfo 2025-06-10 14:31:59 +02:00 committed by Gusted
parent a1bec15043
commit 33eee199cf
3 changed files with 43 additions and 30 deletions

28
shell.nix Normal file
View file

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