nixpkgs/pkgs/tools/misc/diffoscope
Sergei Trofimovich 0fdceb52c7 diffoscope: use multitarget binutils
multitarget binutils is useful for diffing for directories with binaries
foreign to system where diffoscope runs.

before the change:

    $ nix run nixpkgs#diffoscope /tmp/a-Mcrt1.o /tmp/b-Mcrt1.o
    2022-07-27 21:20:35 E: diffoscope.comparators.elf: Command '['objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn --section=.text {}']' returned non-zero exit status 1.
    2022-07-27 21:20:35 E: diffoscope.comparators.elf: Command '['objdump --disassemble --demangle --no-show-raw-insn --section=.text {}']' returned non-zero exit status 1.
    --- /tmp/a-Mcrt1.o
    +++ /tmp/b-Mcrt1.o
    ├── readelf --wide --decompress --string-dump=.debug_str {}
    ...

After the change:

    ./result/bin/diffoscope /tmp/a-Mcrt1.o /tmp/b-Mcrt1.o
    --- /tmp/a-Mcrt1.o
    +++ /tmp/b-Mcrt1.o
    ├── readelf --wide --decompress --string-dump=.debug_str {}
    ...
2022-07-27 22:19:21 +01:00
..
default.nix diffoscope: use multitarget binutils 2022-07-27 22:19:21 +01:00
fix-tests.patch diffoscope: Fix the OpenPGP test which broke with pgpdump 0.34 2021-12-11 14:04:04 +01:00
ignore_links.patch diffoscope: fix nixpkgs patch to be black-compliant 2022-01-26 11:51:56 +00:00
list-missing-tools.sh