From d2922c029b128ed88dd2dd7ec97a6951c87c99bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 14 Jan 2025 13:29:19 +0100 Subject: [PATCH] xorg.xf86videonouveau: fix build --- pkgs/servers/x11/xorg/overrides.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 268c3fbc72f1..6014bd7fb19c 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -594,6 +594,8 @@ self: super: xf86videonouveau = super.xf86videonouveau.overrideAttrs (attrs: { nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ]; + # fixes `implicit declaration of function 'wfbScreenInit'; did you mean 'fbScreenInit'?` + NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; }); xf86videoglint = super.xf86videoglint.overrideAttrs (attrs: {