Merge pull request #170810 from trofi/update-elfutils

elfutils: 0.186 -> 0.187
main
Sandro 2 years ago committed by GitHub
commit a9722cab1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      pkgs/development/tools/misc/elfutils/default.nix

@ -2,16 +2,17 @@
, musl-obstack, m4, zlib, zstd, bzip2, bison, flex, gettext, xz, setupDebugInfoDirs , musl-obstack, m4, zlib, zstd, bzip2, bison, flex, gettext, xz, setupDebugInfoDirs
, argp-standalone , argp-standalone
, enableDebuginfod ? false, sqlite, curl, libmicrohttpd_0_9_70, libarchive , enableDebuginfod ? false, sqlite, curl, libmicrohttpd_0_9_70, libarchive
, gitUpdater
}: }:
# TODO: Look at the hardcoded paths to kernel, modules etc. # TODO: Look at the hardcoded paths to kernel, modules etc.
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elfutils"; pname = "elfutils";
version = "0.186"; version = "0.187";
src = fetchurl { src = fetchurl {
url = "https://sourceware.org/elfutils/ftp/${version}/${pname}-${version}.tar.bz2"; url = "https://sourceware.org/elfutils/ftp/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-f2+5FJsWc9ONkXig0+D7ih7E9TqfTC/4lGlgmHlkEXc="; sha256 = "sha256-5wsN++YQ+QxNH+DXGvFCpOJcPE7566uNLXK2UVnUVMg=";
}; };
patches = [ patches = [
@ -62,10 +63,6 @@ stdenv.mkDerivation rec {
propagatedNativeBuildInputs = [ setupDebugInfoDirs ]; propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
NIX_CFLAGS_COMPILE = lib.optionals stdenv.hostPlatform.isMusl [
"-Wno-null-dereference"
];
configureFlags = [ configureFlags = [
"--program-prefix=eu-" # prevent collisions with binutils "--program-prefix=eu-" # prevent collisions with binutils
"--enable-deterministic-archives" "--enable-deterministic-archives"
@ -81,6 +78,12 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.hostPlatform.isMusl; doCheck = !stdenv.hostPlatform.isMusl;
doInstallCheck = !stdenv.hostPlatform.isMusl; doInstallCheck = !stdenv.hostPlatform.isMusl;
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://sourceware.org/git/elfutils.git";
rev-prefix = "elfutils-";
};
meta = with lib; { meta = with lib; {
homepage = "https://sourceware.org/elfutils/"; homepage = "https://sourceware.org/elfutils/";
description = "A set of utilities to handle ELF objects"; description = "A set of utilities to handle ELF objects";

Loading…
Cancel
Save