programs: ship objdump

This commit is contained in:
Colin 2024-04-12 23:49:20 +00:00
parent 898dc89c8f
commit 0a888e205e
3 changed files with 14 additions and 1 deletions

View File

@ -89,6 +89,7 @@ in
"tree" "tree"
"usbutils" # lsusb "usbutils" # lsusb
"util-linux" # lsblk, lscpu, etc "util-linux" # lsblk, lscpu, etc
"valgrind"
"wget" "wget"
"wirelesstools" # iwlist "wirelesstools" # iwlist
# "xq" # jq for XML # "xq" # jq for XML
@ -108,7 +109,6 @@ in
# - debugging? # - debugging?
consoleUtils = declPackageSet [ consoleUtils = declPackageSet [
"alsaUtils" # for aplay, speaker-test "alsaUtils" # for aplay, speaker-test
"strings"
# "cdrtools" # "cdrtools"
# "clinfo" # "clinfo"
# "dmidecode" # "dmidecode"
@ -137,6 +137,7 @@ in
"nmon" "nmon"
# "node2nix" # "node2nix"
# "oathToolkit" # for oathtool # "oathToolkit" # for oathtool
"objdump"
# "ponymix" # "ponymix"
"pulsemixer" "pulsemixer"
"python3-repl" "python3-repl"
@ -149,6 +150,7 @@ in
"sops" # for manually viewing secrets; outside `sane-secrets` (TODO: improve sane-secrets!) "sops" # for manually viewing secrets; outside `sane-secrets` (TODO: improve sane-secrets!)
"speedtest-cli" "speedtest-cli"
# "ssh-to-age" # "ssh-to-age"
"strings"
"sudo" "sudo"
# "tageditor" # music tagging # "tageditor" # music tagging
# "unar" # "unar"
@ -874,6 +876,8 @@ in
"/sys/bus/usb" "/sys/bus/usb"
]; ];
valgrind = {};
visidata.sandbox.method = "bwrap"; # TODO:sandbox: untested visidata.sandbox.method = "bwrap"; # TODO:sandbox: untested
visidata.sandbox.autodetectCliPaths = true; visidata.sandbox.autodetectCliPaths = true;

View File

@ -80,6 +80,7 @@
./nix-index.nix ./nix-index.nix
./notejot.nix ./notejot.nix
./ntfy-sh.nix ./ntfy-sh.nix
./objdump.nix
./obsidian.nix ./obsidian.nix
./offlineimap.nix ./offlineimap.nix
./open-in-mpv.nix ./open-in-mpv.nix

View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
sane.programs.objdump = {
# binutils-unwrapped is like 80 MiB, just for this one binary;
# dynamic linking means copying the binary doesn't reduce the closure much at all compared to just symlinking it.
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.binutils-unwrapped "bin/objdump";
};
}