diff options
author | Aaron Jheng <wentworth@outlook.com> | 2022-11-02 12:55:11 +0000 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2022-11-03 22:31:38 +0000 |
commit | d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28 (patch) | |
tree | a2be7ced881d139fb8cbb661cfa9360aceb6b07d /pkgs/os-specific/linux/kernel/perf | |
parent | 608eb68fd8ab9e50186ffc3d7c7e842618037c2b (diff) | |
download | nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar.gz nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar.bz2 nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar.lz nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar.xz nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.tar.zst nixpkgs-d7618af3d8e0d33cfdf7303dfe1d6b32a3d69a28.zip |
perf: remove trace binary
Diffstat (limited to 'pkgs/os-specific/linux/kernel/perf')
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index 3693c9868df..969d1e2bb65 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -73,6 +73,11 @@ stdenv.mkDerivation { separateDebugInfo = true; installFlags = [ "install" "install-man" "ASCIIDOC8=1" "prefix=$(out)" ]; + postInstall ='' + # Same as perf. Remove. + rm -f $out/bin/trace + ''; + preFixup = '' # Pull in 'objdump' into PATH to make annotations work. # The embeded Python interpreter will search PATH to calculate the Python path configuration(Should be fixed by upstream). |