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/git-blame-stats/default.nix | 1 + tools/git-broom/default.nix | 1 + tools/ipconverter/default.nix | 3 ++- tools/perf-flamegraph-pid/default.nix | 1 + tools/seqstat/default.nix | 3 ++- 5 files changed, 7 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/git-blame-stats/default.nix b/tools/git-blame-stats/default.nix index 767329b..a18c086 100644 --- a/tools/git-blame-stats/default.nix +++ b/tools/git-blame-stats/default.nix @@ -6,6 +6,7 @@ stdenvNoCC.mkDerivation rec { version = "0.1.1"; nativeBuildInputs = with pkgs; [ python3 ]; + propagatedBuildInputs = with pkgs; [ python3 ]; dontUnpack = true; dontBuild = true; diff --git a/tools/git-broom/default.nix b/tools/git-broom/default.nix index e25c6ec..7349731 100644 --- a/tools/git-broom/default.nix +++ b/tools/git-broom/default.nix @@ -6,6 +6,7 @@ stdenvNoCC.mkDerivation rec { version = "0.1.0"; nativeBuildInputs = with pkgs; [ python3 ]; + propagatedBuildInputs = with pkgs; [ python3 ]; dontUnpack = true; dontBuild = true; 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; 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; diff --git a/tools/seqstat/default.nix b/tools/seqstat/default.nix index d45f4bf..274eba8 100644 --- a/tools/seqstat/default.nix +++ b/tools/seqstat/default.nix @@ -5,7 +5,8 @@ stdenvNoCC.mkDerivation rec { src = ./seqstat.py; version = "0.1.0"; - buildInputs = [ python3 ]; + buildInputs = with pkgs; [ python3 ]; + propagatedBuildInputs = with pkgs; [ python3 ]; dontUnpack = true; dontBuild = true; -- cgit 1.4.1