From 2013614e1d74ad6b0f2d5ab76f3e2b77183806fe Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 6 Mar 2016 16:56:29 +0000 Subject: [PATCH] vim-configurable: 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 --- pkgs/applications/editors/vim/configurable.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index 2a80f5d42ad..d041295ee9f 100644 --- a/pkgs/applications/editors/vim/configurable.nix +++ b/pkgs/applications/editors/vim/configurable.nix @@ -191,6 +191,8 @@ composableDerivation { dontStrip = 1; + hardeningDisable = [ "fortify" ]; + meta = with stdenv.lib; { description = "The most popular clone of the VI editor"; homepage = http://www.vim.org;