From 057840da6e144f9b8444a57788f48bbcc277bf96 Mon Sep 17 00:00:00 2001 From: oxalica Date: Thu, 26 Dec 2019 18:56:26 +0800 Subject: [PATCH] cargo-flamegraph: also wrap `flamegraph` --- pkgs/development/tools/cargo-flamegraph/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/cargo-flamegraph/default.nix b/pkgs/development/tools/cargo-flamegraph/default.nix index e4dd9bb6959..26b737f13a7 100644 --- a/pkgs/development/tools/cargo-flamegraph/default.nix +++ b/pkgs/development/tools/cargo-flamegraph/default.nix @@ -23,6 +23,8 @@ rustPlatform.buildRustPackage rec { postFixup = lib.optionalString stdenv.isLinux '' wrapProgram $out/bin/cargo-flamegraph \ --suffix PATH ':' ${perf}/bin + wrapProgram $out/bin/flamegraph \ + --suffix PATH ':' ${perf}/bin ''; meta = with lib; {