about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2021-05-26 09:06:00 +0200
committerGitHub <noreply@github.com>2021-05-26 09:06:00 +0200
commit8cebe042706a5b700791176e7d92e95d62287a8e (patch)
treedc05b7b560ac3d4d41629a02d5616df39cfc526e
parentc5bed409b29dfbf467a71fab9679cf189ccfa428 (diff)
parentcf3b703e42ff641ffde4f3335f03a36285f03192 (diff)
downloadnixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar.gz
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar.bz2
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar.lz
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar.xz
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.tar.zst
nixlib-8cebe042706a5b700791176e7d92e95d62287a8e.zip
Merge pull request #124191 from Mic92/weechat
weechat: enable pie
-rw-r--r--pkgs/applications/networking/irc/weechat/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index daa088997309..58b462194bbf 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -30,6 +30,8 @@ let
       version = "3.1";
       pname = "weechat";
 
+      hardeningEnable = [ "pie" ];
+
       src = fetchurl {
         url = "https://weechat.org/files/src/weechat-${version}.tar.bz2";
         sha256 = "06w147wzrzp6xbqiz6s5nq5xdjy7jn3f18xajxy50pynjd6vmfh5";
@@ -68,6 +70,11 @@ let
         done
       '';
 
+      doInstallCheck = true;
+      installCheckPhase = ''
+        $out/bin/weechat --version
+      '';
+
       meta = {
         homepage = "http://www.weechat.org/";
         description = "A fast, light and extensible chat client";