xf86videonouveau: unbreak build

Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
This commit is contained in:
Alexander V. Nikolaev
2025-01-17 15:48:34 +02:00
parent ac236e4aa7
commit 79ff0fcd9a
+6 -3
View File
@@ -592,9 +592,12 @@ 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'?`
nativeBuildInputs = attrs.nativeBuildInputs ++ [
autoreconfHook
buildPackages.xorg.utilmacros # For xorg-utils.m4 macros
buildPackages.xorg.xorgserver # For xorg-server.m4 macros
];
# fixes `implicit declaration of function 'wfbScreenInit'; did you mean 'fbScreenInit'?
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
});