gdb: enable debuginfod support only on platforms with elfutils support

This commit is contained in:
Sergei Trofimovich 2023-04-28 10:08:37 +01:00
parent fb132593f2
commit 094b2891aa

@ -7,7 +7,7 @@
, ncurses, readline, gmp, mpfr, expat, libipt, zlib, zstd, dejagnu, sourceHighlight
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
, enableDebuginfod ? true, elfutils
, enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils
, guile ? null
, hostCpuOnly ? false
, safePaths ? [