1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

forgejo: use existing nixos/tests/gitea as test

forgejo is a soft-fork of gitea and gitea's existing tests work great
with forgejo.
At least for now, as this could change, though somewhat unlikely.
This commit is contained in:
IndeedNotJames 2023-02-24 02:59:30 +01:00
parent 889eb7a315
commit 1b304e1dbc
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87
2 changed files with 4 additions and 0 deletions

View file

@ -228,6 +228,7 @@ in {
fluentd = handleTest ./fluentd.nix {};
fluidd = handleTest ./fluidd.nix {};
fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
forgejo = handleTest ./gitea.nix { giteaPackage = pkgs.forgejo; };
freenet = handleTest ./freenet.nix {};
freeswitch = handleTest ./freeswitch.nix {};
freshrss-sqlite = handleTest ./freshrss-sqlite.nix {};

View file

@ -10,6 +10,7 @@
, lib
, makeWrapper
, nix
, nixosTests
, openssh
, pam
, pamSupport ? true
@ -65,6 +66,8 @@ buildGoModule rec {
--prefix PATH : ${lib.makeBinPath [ bash git gzip openssh ]}
'';
passthru.tests = nixosTests.forgejo;
passthru.updateScript = lib.getExe (writeShellApplication {
name = "update-forgejo";
runtimeInputs = [