From 86025fbdb82f7fee1813b5c2a05e271a83432871 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 17 Sep 2022 05:02:00 +0200 Subject: [PATCH] axel: add $out/share/doc/axelrc.example Other distros tend to bundle example configuration --- pkgs/tools/networking/axel/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/networking/axel/default.nix b/pkgs/tools/networking/axel/default.nix index eb2b109dbecd..a53f4b70e8f4 100644 --- a/pkgs/tools/networking/axel/default.nix +++ b/pkgs/tools/networking/axel/default.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { installFlags = [ "ETCDIR=${placeholder "out"}/etc" ]; + postInstall = '' + mkdir -p $out/share/doc + cp doc/axelrc.example $out/share/doc/axelrc.example + ''; + meta = with lib; { description = "Console downloading program with some features for parallel connections for faster downloading"; homepage = "https://github.com/axel-download-accelerator/axel";