From f08e95b16f4ef9ec022ca691137766b57fa989df Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 23 Dec 2024 23:19:02 +0800 Subject: [PATCH] timeshift: Fix GCC 14 build TeeJee.Process.c:1134:9: error: implicit declaration of function 'kill' --- pkgs/applications/backup/timeshift/unwrapped.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/backup/timeshift/unwrapped.nix b/pkgs/applications/backup/timeshift/unwrapped.nix index 3fbaed4b21be..ebc37cfe55ff 100644 --- a/pkgs/applications/backup/timeshift/unwrapped.nix +++ b/pkgs/applications/backup/timeshift/unwrapped.nix @@ -57,6 +57,10 @@ stdenv.mkDerivation rec { xapp ]; + env = lib.optionalAttrs stdenv.cc.isGNU { + NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; + }; + meta = with lib; { description = "System restore tool for Linux"; longDescription = ''