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