Skip to content

Commit 8d1dc01

Browse files
debug: add some additional tools
add some tools to help find and navigate the file system. Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
1 parent 9fd5cf6 commit 8d1dc01

File tree

1 file changed

+41
-40
lines changed

1 file changed

+41
-40
lines changed

modules/development/debug-tools.nix

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -29,53 +29,47 @@ in
2929
audio_test.source = ./audio_test;
3030
};
3131
environment.systemPackages =
32-
builtins.attrValues {
33-
inherit (pkgs)
34-
# For lspci:
32+
[
33+
# For lspci:
34+
pkgs.pciutils
35+
# For lsusb:
36+
pkgs.usbutils
37+
# Useful in NetVM
38+
pkgs.ethtool
39+
# Basic monitors
40+
pkgs.iftop
41+
pkgs.iotop
42+
pkgs.traceroute
43+
pkgs.dig
44+
pkgs.evtest
3545

36-
pciutils
37-
# For lsusb:
46+
# for finding and navigation
47+
pkgs.fd
48+
(pkgs.ripgrep.override { withPCRE2 = true; })
3849

39-
usbutils
40-
# Useful in NetVM
50+
# For deleting Linux Boot Manager entries in automated testing
51+
pkgs.efibootmgr
4152

42-
ethtool
43-
# Basic monitors
53+
# Performance testing
54+
pkgs.speedtest-cli
55+
pkgs.iperf
56+
pkgs.tree
57+
pkgs.file
4458

45-
iftop
46-
iotop
47-
traceroute
48-
dig
49-
evtest
50-
# For deleting Linux Boot Manager entries in automated testing
59+
# to build ghaf on target
60+
pkgs.git
5161

52-
efibootmgr
53-
# Performance testing
62+
# Grpc testing
63+
pkgs.grpcurl
5464

55-
speedtest-cli
56-
iperf
57-
tree
58-
file
65+
pkgs.lshw
5966

60-
# to build ghaf on target
61-
git
62-
63-
# Grpc testing
64-
65-
grpcurl
66-
67-
lshw
68-
;
69-
}
70-
++
71-
# Match perf version with kernel.
72-
[
73-
#(config.boot.kernelPackages.perf.override {python3 = pkgs.python311;})
74-
sysbench-test-script
75-
sysbench-fileio-test-script
76-
nvpmodel-check
77-
rm-linux-bootmgrs
78-
]
67+
#(config.boot.kernelPackages.perf.override {python3 = pkgs.python311;})
68+
sysbench-test-script
69+
sysbench-fileio-test-script
70+
nvpmodel-check
71+
rm-linux-bootmgrs
72+
]
7973
++ rmDesktopEntries [ pkgs.htop ]
8074
#TODO tmp disable perf as it is broken in cross-compiled Orin AGX/NX
8175
++ lib.optional (
@@ -98,5 +92,12 @@ in
9892
pkgs.ffmpeg_7
9993
pkgs.v4l-utils
10094
]);
95+
96+
programs = {
97+
fzf = {
98+
fuzzyCompletion = true;
99+
keybindings = true;
100+
};
101+
};
101102
};
102103
}

0 commit comments

Comments
 (0)