mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-09 09:00:35 +00:00
This PR adds `gotestsum` to the nix dev shell. Running the tests without having`gotestsum` systemwide installed works now. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9169 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Daniel Laguna <labellson@fastmail.com> Co-committed-by: Daniel Laguna <labellson@fastmail.com>
29 lines
312 B
Nix
29 lines
312 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
|
|
go
|
|
gopls
|
|
gotestsum
|
|
|
|
# tests
|
|
openssh
|
|
];
|
|
}
|