about summary refs log tree commit diff
path: root/pkgs/tools/networking/ppp
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-09-27 15:43:23 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-10-09 18:10:33 +0200
commit728c97f88adf5cf47e6196f082eef37b5eaadd93 (patch)
treea126a595bd4628eb0c3c03038bfe9a4c08df1f3b /pkgs/tools/networking/ppp
parent43327d2957cfa38e71ef57a43d532b8267f59d95 (diff)
downloadnixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar.gz
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar.bz2
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar.lz
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar.xz
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.tar.zst
nixlib-728c97f88adf5cf47e6196f082eef37b5eaadd93.zip
pppd: inherit nixos test into passthru.tests
Diffstat (limited to 'pkgs/tools/networking/ppp')
-rw-r--r--pkgs/tools/networking/ppp/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ppp/default.nix b/pkgs/tools/networking/ppp/default.nix
index d7735466ddcf..be50397bf1d0 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";