pkg: don't use vendored libelf

This commit is contained in:
Alyssa Ross 2023-04-08 16:00:41 +00:00
parent 84077e13db
commit 2dbdc56a46
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, m4, pkg-config, tcl { lib, stdenv, fetchFromGitHub, m4, pkg-config, tcl
, bzip2, libarchive, libbsd, xz, openssl, zlib , bzip2, elfutils, libarchive, libbsd, xz, openssl, zlib
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
separateDebugInfo = true; separateDebugInfo = true;
nativeBuildInputs = [ m4 pkg-config tcl ]; nativeBuildInputs = [ m4 pkg-config tcl ];
buildInputs = [ bzip2 libarchive xz openssl zlib ] buildInputs = [ bzip2 elfutils libarchive openssl xz zlib ]
++ lib.optional stdenv.isLinux libbsd; ++ lib.optional stdenv.isLinux libbsd;
enableParallelBuilding = true; enableParallelBuilding = true;