Merge pull request #228697 from trofi/gdb-and-elfutils

gdb: enable debuginfod support only on platforms with elfutils support
This commit is contained in:
Sergei Trofimovich 2023-04-28 12:21:57 +01:00 committed by GitHub
commit 3b2220d448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ? [