From e69063e71a92685abe2ddad18845b699c0a00356 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Nov 2016 10:16:18 -0500 Subject: [PATCH] rambox: Allow to run with grsecurity kernel --- .../networking/instant-messengers/rambox/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/rambox/default.nix b/pkgs/applications/networking/instant-messengers/rambox/default.nix index 3408bc923b6c..e0b86dfc6331 100644 --- a/pkgs/applications/networking/instant-messengers/rambox/default.nix +++ b/pkgs/applications/networking/instant-messengers/rambox/default.nix @@ -30,7 +30,7 @@ in stdenv.mkDerivation rec { "0gq0ywk1jr0apl39dnm0vwdwg1inr7fari3cmfz3fvaym7gc8fki"; }; - phases = [ "unpackPhase" "installPhase" ]; + phases = [ "unpackPhase" "installPhase" "postFixup" ]; deps = with xorg; [ gtk2 atk glib pango gdk_pixbuf cairo freetype fontconfig dbus @@ -53,6 +53,10 @@ in stdenv.mkDerivation rec { ln -s ${desktopItem}/share/applications/* $out/share/applications ''; + postFixup = '' + paxmark m $out/share/rambox/Rambox + ''; + meta = with stdenv.lib; { description = "Free and Open Source messaging and emailing app that combines common web applications into one"; homepage = http://rambox.pro;