From 16dd1c902c91cd18b98a89a803602d65ca3900d8 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 2 Dec 2020 08:57:26 -0500 Subject: [PATCH 1/2] gitea: 1.12.6 -> 1.13.0 --- pkgs/applications/version-management/gitea/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index 29c8fac962bf..340ab283bf6e 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -8,11 +8,11 @@ with stdenv.lib; buildGoPackage rec { pname = "gitea"; - version = "1.12.6"; + version = "1.13.0"; src = fetchurl { url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; - sha256 = "sha256-mEhtFcWLUhd+WK8wDhrGr6RvL4X2G42W6su/c8zxGR4="; + sha256 = "090i4hk9mb66ia14kyp7rqymhc897yi1ifb0skvknylx0sw8vhk9"; }; unpackPhase = '' From affb72eccd5284defab1b557be65f45f8a02c86d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 2 Dec 2020 15:18:47 +0100 Subject: [PATCH 2/2] nixos/tests/gitea: increase memory for VM Otherwise, the relevant processes are stopped by the kernel's OOM killer[1]. [1] https://github.com/NixOS/nixpkgs/pull/105698#issuecomment-737257293 --- nixos/tests/gitea.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix index aaed2486421f..1fb27593f056 100644 --- a/nixos/tests/gitea.nix +++ b/nixos/tests/gitea.nix @@ -14,6 +14,7 @@ let nodes = { server = { config, pkgs, ... }: { + virtualisation.memorySize = 2048; services.gitea = { enable = true; database = { inherit type; };