summary refs log tree commit diff
path: root/pkgs/os-specific/linux/bpftrace
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2019-05-03 12:25:28 -0500
committerAustin Seipp <aseipp@pobox.com>2019-05-03 12:25:59 -0500
commitf40a559cbb6c1dffe144cb4c77ff5e5a443e632f (patch)
treeb8ab0f4318f2b3bb10d9ea87458bd8ad0567464b /pkgs/os-specific/linux/bpftrace
parente954384854db3eb5fae5c92fc2e8c44484bee9b8 (diff)
downloadnixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar.gz
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar.bz2
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar.lz
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar.xz
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.tar.zst
nixpkgs-f40a559cbb6c1dffe144cb4c77ff5e5a443e632f.zip
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.nix6
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 022e0300a8c..87355fbcc2e 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; {