{jool,jool-cli}: link tests to passthu
This commit is contained in:
parent
1f28c8defc
commit
e5319b3512
@ -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";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user