Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

eztrace: Misc cleanups

- Use nativeBuildInputs
- Use libraries opcodes and bfd, rather than all of binutils

+10 -3
+10 -3
pkgs/development/tools/profiling/EZTrace/default.nix
··· 1 - { stdenv, fetchurl, autoconf, libelf, libiberty, gfortran, zlib, binutils }: 1 + { stdenv 2 + , fetchurl, autoconf, gfortran 3 + , libelf, libiberty, zlib, libbfd, libopcodes 4 + , buildPackages 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 version = "1.0.6"; ··· 9 13 sha256 = "06q5y9qmdn1h0wjmy28z6gwswskmph49j7simfqcqwv05gvd9svr"; 10 14 }; 11 15 12 - # Goes past the rpl_malloc linking failure 16 + # Goes past the rpl_malloc linking failure; fixes silent file breakage 13 17 preConfigure = '' 14 18 export ac_cv_func_malloc_0_nonnull=yes 19 + substituteInPlace ./configure \ 20 + --replace "/usr/bin/file" "${buildPackages.file}/bin/file" 15 21 ''; 16 22 17 - buildInputs = [ autoconf libelf libiberty gfortran zlib binutils ]; 23 + nativeBuildInputs = [ autoconf gfortran ]; 24 + buildInputs = [ libelf libiberty zlib libbfd libopcodes ]; 18 25 19 26 meta = { 20 27 description = "Tool that aims at generating automatically execution trace from HPC programs";