Unverified Commit 79ff0fcd authored by Alexander V. Nikolaev's avatar Alexander V. Nikolaev
Browse files

xf86videonouveau: unbreak build

parent ac236e4a
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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";
  });