From 505f913ceb37f1bcc13598f0ec58f0b741a954c3 Mon Sep 17 00:00:00 2001 From: Lily Ballard Date: Sun, 17 Nov 2019 17:16:47 -0800 Subject: [PATCH] macvim: Add -headerpad_max_install_names (#73592) We were adding this to the compilation of MacVim, but not to the compilation of the separate Vim binary. We may not actually need it for MacVim at all, but omitting it for the Vim binary meant our postInstall phase would fail for some people. Fixes #73514 --- pkgs/applications/editors/vim/macvim.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix index 043948df7b43..ede12f50feca 100644 --- a/pkgs/applications/editors/vim/macvim.nix +++ b/pkgs/applications/editors/vim/macvim.nix @@ -76,6 +76,7 @@ stdenv.mkDerivation { "--with-tclsh=${tcl}/bin/tclsh" "--with-tlib=ncurses" "--with-compiledby=Nix" + "LDFLAGS=-headerpad_max_install_names" ]; makeFlags = ''PREFIX=$(out) CPPFLAGS="-Wno-error"'';