summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-05 13:59:39 +0800
committerZubin Duggal <zubin.duggal@gmail.com>2021-09-21 11:29:41 +0530
commitf84fa06099ddd5b32e66c3fda16fa47bafef43ec (patch)
treef366e5189f69bf2342e6c8d9791c81ea726778e7
parent52765fe46975f9b20e84ef3af4db01c01ad697ff (diff)
downloadhaskell-f84fa06099ddd5b32e66c3fda16fa47bafef43ec.tar.gz
[ci/nix-shell] [Darwin] Stop the ld warnings about libiconv.
(cherry picked from commit c3944bc89d062a4850946904133c7a1464d59012) (cherry picked from commit 582fc5839819cae88df97e14a85bc05a606c747d)
-rw-r--r--.gitlab/shell.nix3
1 files changed, 3 insertions, 0 deletions
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";