diff options
author | Austin Seipp <aseipp@pobox.com> | 2019-05-03 12:25:28 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2019-05-03 12:25:59 -0500 |
commit | f40a559cbb6c1dffe144cb4c77ff5e5a443e632f (patch) | |
tree | b8ab0f4318f2b3bb10d9ea87458bd8ad0567464b /pkgs/os-specific/linux/bpftrace | |
parent | e954384854db3eb5fae5c92fc2e8c44484bee9b8 (diff) |
bpftrace: nuke some unneeded files from $out
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/os-specific/linux/bpftrace')
-rw-r--r-- | pkgs/os-specific/linux/bpftrace/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/bpftrace/default.nix b/pkgs/os-specific/linux/bpftrace/default.nix index 022e0300a8c6c..87355fbcc2ece 100644 --- a/pkgs/os-specific/linux/bpftrace/default.nix +++ b/pkgs/os-specific/linux/bpftrace/default.nix @@ -44,6 +44,12 @@ stdenv.mkDerivation rec { "-DLIBBCC_INCLUDE_DIRS=${bcc}/include/bcc" ]; + # nuke the example/reference output .txt files, for the included tools, + # stuffed inside $out. we don't need them at all. + postInstall = '' + rm -rf $out/share/bpftrace/tools/doc + ''; + outputs = [ "out" "man" ]; meta = with stdenv.lib; { |