summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-05 13:59:39 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-03-07 22:19:22 +0800
commitc3944bc89d062a4850946904133c7a1464d59012 (patch)
treec8e24ce8c2c0ed7c0a3523d9253cea5e120ffefe
parent966915976d8d5b51582c4620a25f5d6e97d985d9 (diff)
downloadhaskell-c3944bc89d062a4850946904133c7a1464d59012.tar.gz
[ci/nix-shell] [Darwin] Stop the ld warnings about libiconv.
-rw-r--r--.gitlab/shell.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/shell.nix b/.gitlab/shell.nix
index 70d3d08ffa..785d16300f 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";