Skip to content

Commit 004a642

Browse files
committed
gnome-user-share: add -Wno-error=implicit-function-declaration due to compilation error with gcc_14 for upcoming staging-next cycle
1 parent fdbfdb5 commit 004a642

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkgs/by-name/gn/gnome-user-share/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
5454
systemd
5555
];
5656

57+
env = lib.optionalAttrs stdenv.cc.isGNU {
58+
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
59+
};
60+
5761
doCheck = true;
5862

5963
passthru = {

0 commit comments

Comments
 (0)