From 16a917d5e2b00c33069b6d2db4d6d98f1af561f9 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Thu, 13 Oct 2016 14:26:29 +0200 Subject: [PATCH] thunderbird: disable PaX mprotect() hardening Otherwise, thunderbird crashes at startup due to a PaX mprotect() violation. Fixes https://github.com/NixOS/nixpkgs/issues/19403 --- .../networking/mailreaders/thunderbird/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix index ded4e66e3669..e34813154166 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix @@ -113,6 +113,11 @@ stdenv.mkDerivation rec { EOF ''; + postFixup = + '' + paxmark m $out/lib/thunderbird-${version}/thunderbird + ''; + meta = with stdenv.lib; { description = "A full-featured e-mail client"; homepage = http://www.mozilla.org/thunderbird/;