From c7fcbdc5445a2b73cd2f90319e086733617d2d6a Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 14 Apr 2026 00:17:58 -0700 Subject: [PATCH] elfutils: always depend on pkg-config This elfutils commit: https://github.com/roolebo/elfutils/commit/30b5592a34a69b43018763428a0bfbe29d91ab68 moved the pkg-config check to the top level, causing the build to fail with debuginfod disabled. Fix it by making our pkg-config depdendency unconditional. --- pkgs/by-name/el/elfutils/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/el/elfutils/package.nix b/pkgs/by-name/el/elfutils/package.nix index af61f576933c..d56511853384 100644 --- a/pkgs/by-name/el/elfutils/package.nix +++ b/pkgs/by-name/el/elfutils/package.nix @@ -87,8 +87,8 @@ stdenv.mkDerivation (finalAttrs: { flex gettext bzip2 - ] - ++ lib.optional enableDebuginfod pkg-config; + pkg-config + ]; buildInputs = [ zlib zstd