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/ipconverter/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/ipconverter') diff --git a/tools/ipconverter/default.nix b/tools/ipconverter/default.nix index ae08d0f..4580396 100644 --- a/tools/ipconverter/default.nix +++ b/tools/ipconverter/default.nix @@ -6,7 +6,8 @@ stdenvNoCC.mkDerivation rec { src = ./ipconverter.py; - buildInputs = [ python3 ]; + buildInputs = with pkgs; [ python3 ]; + propagatedBuildInputs = with pkgs; [ python3 ]; dontUnpack = true; dontBuild = true; -- cgit 1.4.1