From a4d741ef9deb66d84ad22ec4c33c15eaea9e9c39 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Thu, 24 Mar 2016 19:25:42 +0000 Subject: [PATCH] ppp: Include convenience scripts --- pkgs/tools/networking/ppp/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/networking/ppp/default.nix b/pkgs/tools/networking/ppp/default.nix index 43349178211..dd07e53ee6f 100644 --- a/pkgs/tools/networking/ppp/default.nix +++ b/pkgs/tools/networking/ppp/default.nix @@ -22,6 +22,16 @@ stdenv.mkDerivation rec { buildInputs = [ libpcap ]; + installPhase = '' + mkdir -p $out/bin + make install + install -D -m 755 scripts/{pon,poff,plog} $out/bin + ''; + + postFixup = '' + substituteInPlace $out/bin/{pon,poff,plog} --replace "/usr/sbin" "$out/bin" + ''; + meta = { homepage = https://ppp.samba.org/; description = "Point-to-point implementation for Linux and Solaris";