Merge pull request #170810 from trofi/update-elfutils

elfutils: 0.186 -> 0.187
This commit is contained in:
Sandro 2022-05-08 21:23:20 +02:00 committed by GitHub
commit a9722cab1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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