Skip to content

Commit f08e95b

Browse files
committed
timeshift: Fix GCC 14 build
TeeJee.Process.c:1134:9: error: implicit declaration of function 'kill'
1 parent 05f5f94 commit f08e95b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/applications/backup/timeshift/unwrapped.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ stdenv.mkDerivation rec {
5757
xapp
5858
];
5959

60+
env = lib.optionalAttrs stdenv.cc.isGNU {
61+
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
62+
};
63+
6064
meta = with lib; {
6165
description = "System restore tool for Linux";
6266
longDescription = ''

0 commit comments

Comments
 (0)