From cb3d6d323442e75d83f6e8d2f1a487d4ae948902 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 29 Oct 2022 13:19:08 -0700 Subject: fix(tools): install dependencies correctly For the python tools, we need the python runtime to be available. For this we need to specify the dependencies in `propagatedBuildInputs`. The same is true for flamegraph and perf. --- tools/perf-flamegraph-pid/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/perf-flamegraph-pid') diff --git a/tools/perf-flamegraph-pid/default.nix b/tools/perf-flamegraph-pid/default.nix index d3b3e1e..8fedba3 100644 --- a/tools/perf-flamegraph-pid/default.nix +++ b/tools/perf-flamegraph-pid/default.nix @@ -6,6 +6,7 @@ stdenvNoCC.mkDerivation rec { version = "0.1.0"; nativeBuildInputs = with pkgs; [ flamegraph linuxPackages_latest.perf ]; + propagatedBuildInputs = with pkgs; [ flamegraph linuxPackages_latest.perf ]; dontUnpack = true; dontBuild = true; -- cgit 1.4.1