From 396858baffa3d15c1cdd35a453ef3bfce1e43612 Mon Sep 17 00:00:00 2001 From: Pim Snel Date: Fri, 16 Aug 2024 16:39:15 +0200 Subject: [PATCH] sc-im: fix aligning selection of cells cause crash Fixes #335130 For complete description of problem with video see https://github.com/andmarti1424/sc-im/issues/884 --- pkgs/applications/misc/sc-im/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix index d4509411dcfee..e0539a63b6d86 100644 --- a/pkgs/applications/misc/sc-im/default.nix +++ b/pkgs/applications/misc/sc-im/default.nix @@ -46,6 +46,9 @@ stdenv.mkDerivation rec { makeFlags = [ "prefix=${placeholder "out"}" ]; + # https://github.com/andmarti1424/sc-im/issues/884 + hardeningDisable = [ "fortify" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration"; postInstall = ''