gdb: fix charset issue on darwin, missing libiconv (#245576)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
38b9e60ee0
commit
a9c33b3f98
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
, fetchurl, fetchpatch, pkg-config, perl, texinfo, setupDebugInfoDirs, buildPackages
|
||||
|
||||
# Run time
|
||||
, ncurses, readline, gmp, mpfr, expat, libipt, zlib, zstd, dejagnu, sourceHighlight
|
||||
, ncurses, readline, gmp, mpfr, expat, libipt, zlib, zstd, dejagnu, sourceHighlight, libiconv
|
||||
|
||||
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
|
||||
, enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils
|
||||
|
@ -57,7 +57,8 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ ncurses readline gmp mpfr expat libipt zlib zstd guile sourceHighlight ]
|
||||
++ lib.optional pythonSupport python3
|
||||
++ lib.optional doCheck dejagnu
|
||||
++ lib.optional enableDebuginfod (elfutils.override { enableDebuginfod = true; });
|
||||
++ lib.optional enableDebuginfod (elfutils.override { enableDebuginfod = true; })
|
||||
++ lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue