summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/vim
diff options
context:
space:
mode:
authorLily Ballard <lily@sb.org>2019-11-17 17:16:47 -0800
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-11-17 20:16:47 -0500
commit505f913ceb37f1bcc13598f0ec58f0b741a954c3 (patch)
tree30b0ccf0cb162598b33e039a147c22b809e5d19a /pkgs/applications/editors/vim
parente89c1c704f4e1a0a6ebbd4ad29e585017d6d2e95 (diff)
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
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r--pkgs/applications/editors/vim/macvim.nix1
1 files changed, 1 insertions, 0 deletions
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"'';