From 728c97f88adf5cf47e6196f082eef37b5eaadd93 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 27 Sep 2022 15:43:23 +0200 Subject: [PATCH] pppd: inherit nixos test into passthru.tests --- pkgs/tools/networking/ppp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/ppp/default.nix b/pkgs/tools/networking/ppp/default.nix index d7735466ddc..be50397bf1d 100644 --- a/pkgs/tools/networking/ppp/default.nix +++ b/pkgs/tools/networking/ppp/default.nix @@ -6,6 +6,7 @@ , libxcrypt , openssl , bash +, nixosTests }: stdenv.mkDerivation rec { @@ -64,6 +65,10 @@ stdenv.mkDerivation rec { substituteInPlace "$out/bin/pon" --replace "/usr/sbin" "$out/bin" ''; + passthru.tests = { + inherit (nixosTests) pppd; + }; + meta = with lib; { homepage = "https://ppp.samba.org"; description = "Point-to-point implementation to provide Internet connections over serial lines";