From 04eceedb4fe3641224e776efd7fc6d4a57aa5731 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Thu, 6 Jul 2023 21:59:53 +0200 Subject: [PATCH] fdm: Install helper script, manual, and examples (#241310) --- pkgs/tools/networking/fdm/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/networking/fdm/default.nix b/pkgs/tools/networking/fdm/default.nix index 7ef5cf0b4edd..f0d65a03d895 100644 --- a/pkgs/tools/networking/fdm/default.nix +++ b/pkgs/tools/networking/fdm/default.nix @@ -14,6 +14,13 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ openssl tdb zlib flex bison ]; + postInstall = '' + install fdm-sanitize $out/bin + mkdir -p $out/share/doc/${pname} + install -m644 MANUAL $out/share/doc/${pname} + cp -R examples $out/share/doc/${pname} + ''; + meta = with lib; { description = "Mail fetching and delivery tool - should do the job of getmail and procmail"; maintainers = with maintainers; [ raskin ];