about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-29 13:19:08 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-29 13:19:08 -0700
commitcb3d6d323442e75d83f6e8d2f1a487d4ae948902 (patch)
tree54b55ea77863303734328f4b9a56b92ec6b863fc /tools
parentref(hosts/tahoe): disable cgit/gerrit/buildkite/sourcegraph (diff)
downloadworld-cb3d6d323442e75d83f6e8d2f1a487d4ae948902.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--tools/git-blame-stats/default.nix1
-rw-r--r--tools/git-broom/default.nix1
-rw-r--r--tools/ipconverter/default.nix3
-rw-r--r--tools/perf-flamegraph-pid/default.nix1
-rw-r--r--tools/seqstat/default.nix3
5 files changed, 7 insertions, 2 deletions
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;