bpftrace: nuke some unneeded files from $out

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2019-05-03 12:25:28 -05:00
parent e954384854
commit f40a559cbb
No known key found for this signature in database
GPG Key ID: 25D2038DEB08021D

View File

@ -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; {