redmine: add nixos test to passthru.tests

This commit is contained in:
Pierre Bourdon 2022-09-09 11:07:38 +02:00
parent ec13e46dd1
commit 9c642006bd
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, bundlerEnv, ruby, makeWrapper }:
{ lib, stdenv, fetchurl, bundlerEnv, ruby, makeWrapper, nixosTests }:
let
version = "4.2.5";
@ -42,6 +42,8 @@ in
makeWrapper ${rubyEnv.wrappedRuby}/bin/ruby $out/bin/rdm-mailhandler.rb --add-flags $out/share/redmine/extra/mail_handler/rdm-mailhandler.rb
'';
passthru.tests.redmine = nixosTests.redmine;
meta = with lib; {
homepage = "https://www.redmine.org/";
platforms = platforms.linux;