mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-23 17:00:03 +02:00
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:
parent
a1bec15043
commit
33eee199cf
3 changed files with 43 additions and 30 deletions
28
shell.nix
Normal file
28
shell.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue