loki: reference nixosTests

This commit is contained in:
Jörg Thalheim 2020-11-10 10:46:30 +01:00
parent 31a0b5dff6
commit 37a7436356
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,4 +1,12 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, makeWrapper, systemd, fetchpatch }:
{ stdenv
, lib
, buildGoModule
, fetchFromGitHub
, makeWrapper
, nixosTests
, systemd
, fetchpatch
}:
buildGoModule rec {
version = "2.0.0";
@ -32,6 +40,8 @@ buildGoModule rec {
--prefix LD_LIBRARY_PATH : "${lib.getLib systemd}/lib"
'';
passthru.tests = { inherit (nixosTests) loki; };
doCheck = true;
meta = with stdenv.lib; {