Unverified Commit 8b2f0577 authored by averyv's avatar averyv
Browse files

pihole: Link packages to NixOS tests

parent 155cdfb0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  nixosTests,
  fetchFromGitHub,
  cmake,
  gmp,
@@ -12,7 +13,6 @@
  readline,
  xxd,
  iproute2,
  ...
}:

stdenv.mkDerivation (finalAttrs: {
@@ -78,6 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  passthru.settingsTemplate = ./pihole.toml;
  passthru.tests = nixosTests.pihole-ftl;

  meta = {
    description = "Pi-hole FTL engine";
+3 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  nixosTests,
  fetchFromGitHub,
  pihole,
  pihole-ftl,
@@ -36,6 +37,8 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  passthru.tests = nixosTests.pihole-ftl;

  meta = {
    description = "Pi-hole web dashboard displaying stats and more";
    homepage = "https://github.com/pi-hole/web";
+3 −0
Original line number Diff line number Diff line
{
  lib,
  nixosTests,
  fetchFromGitHub,
  makeBinaryWrapper,
  installShellFiles,
@@ -238,6 +239,8 @@
    mainProgram = "pihole";
  };

  passthru.tests = nixosTests.pihole-ftl;

  passthru = {
    inherit stateDir;
  };