summaryrefslogtreecommitdiff
path: root/.gitlab/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/shell.nix')
-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";