vim: Disable hardening flag fortify

Fortify hardening detects a probable buffer overflow in vim at runtime. This
has to be fixed upstream.

Debian also disables fortify:

  https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/rules#n6
This commit is contained in:
Franz Pletz 2016-03-05 21:39:38 +01:00
parent 034b2ec2ed
commit 0cad2e7af1

View File

@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
"--enable-nls"
];
hardeningDisable = [ "fortify" ];
postInstall = ''
ln -s $out/bin/vim $out/bin/vi
mkdir -p $out/share/vim