{jool,jool-cli}: link tests to passthu

This commit is contained in:
rnhmjoj 2023-07-01 23:32:54 +02:00
parent 1f28c8defc
commit e5319b3512
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,6 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libnl, iptables }:
{ lib, stdenv, fetchFromGitHub, nixosTests
, autoreconfHook, pkg-config, libnl, iptables
}:
let
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
@ -28,6 +30,8 @@ stdenv.mkDerivation {
sed -e 's%^XTABLES_SO_DIR = .*%XTABLES_SO_DIR = '"$out"'/lib/xtables%g' -i src/usr/iptables/Makefile
'';
passthru.tests = { inherit (nixosTests) jool; };
meta = with lib; {
homepage = "https://www.jool.mx/";
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - CLI tools";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, kernel }:
{ lib, stdenv, fetchFromGitHub, kernel, nixosTests }:
let
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
@ -23,6 +23,8 @@ stdenv.mkDerivation {
installTargets = "modules_install";
passthru.tests = { inherit (nixosTests) jool; };
meta = with lib; {
homepage = "https://www.jool.mx/";
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - kernel modules";