From 55a2b3eb0c016c3a450dec784a9d1a70051d6df8 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/by-name/sc/sc-im/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/sc/sc-im/package.nix b/pkgs/by-name/sc/sc-im/package.nix index c8d90823863f9..978b858c6458c 100644 --- a/pkgs/by-name/sc/sc-im/package.nix +++ b/pkgs/by-name/sc/sc-im/package.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 = ''