{jool,jool-cli}: link tests to passthu
This commit is contained in:
parent
1f28c8defc
commit
e5319b3512
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libnl, iptables }:
|
{ lib, stdenv, fetchFromGitHub, nixosTests
|
||||||
|
, autoreconfHook, pkg-config, libnl, iptables
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
|
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
|
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; {
|
meta = with lib; {
|
||||||
homepage = "https://www.jool.mx/";
|
homepage = "https://www.jool.mx/";
|
||||||
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - CLI tools";
|
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
|
let
|
||||||
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
|
sourceAttrs = (import ./source.nix) { inherit fetchFromGitHub; };
|
||||||
|
@ -23,6 +23,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
installTargets = "modules_install";
|
installTargets = "modules_install";
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) jool; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.jool.mx/";
|
homepage = "https://www.jool.mx/";
|
||||||
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - kernel modules";
|
description = "Fairly compliant SIIT and Stateful NAT64 for Linux - kernel modules";
|
||||||
|
|
Loading…
Reference in a new issue