nix-files/hosts/common/programs/objdump.nix
2024-04-13 20:29:24 +00:00

9 lines
323 B
Nix

{ 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";
};
}