From c024fb9323e3ac1de30f194571b5c458026e88ab Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Fri, 5 Mar 2021 13:59:39 +0800 Subject: [ci/nix-shell] [Darwin] Stop the ld warnings about libiconv. (cherry picked from commit c3944bc89d062a4850946904133c7a1464d59012) --- .gitlab/shell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab/shell.nix b/.gitlab/shell.nix index 8b8353a769..eb79921fce 100644 --- a/.gitlab/shell.nix +++ b/.gitlab/shell.nix @@ -7,6 +7,9 @@ # we can't really, as NIX_BUILD_TOP/env-vars is not set. noDumpEnvVars=1; + # stop polluting LDFLAGS with -liconv + dontAddExtraLibs = true; + # we need to inject ncurses into --with-curses-libraries. # the real fix is to teach terminfo to use libcurses on macOS. CONFIGURE_ARGS = "--with-intree-gmp --with-curses-libraries=${pkgs.ncurses.out}/lib"; -- cgit v1.2.1