lol

bumblebee: fix build with GCC 10

Patch from bumblebee develop branch:
https://github.com/Bumblebee-Project/Bumblebee/pull/1071

+5 -3
+5 -3
pkgs/tools/X11/bumblebee/default.nix
··· 52 52 url = "https://github.com/Bumblebee-Project/Bumblebee/commit/deceb14cdf2c90ff64ebd1010a674305464587da.patch"; 53 53 sha256 = "00c05i5lxz7vdbv445ncxac490vbl5g9w3vy3gd71qw1f0si8vwh"; 54 54 }; 55 + gcc10Patch = fetchpatch { 56 + url = "https://github.com/Bumblebee-Project/Bumblebee/commit/f94a118a88cd76e2dbea33d735bd53cf54b486a1.patch"; 57 + hash = "sha256-3b5tLoMrGYSdg9Hz5bh0c44VIrbSZrY56JpWEyU/Pik="; 58 + }; 55 59 56 60 in stdenv.mkDerivation rec { 57 61 pname = "bumblebee"; ··· 67 71 68 72 modprobePatch 69 73 libkmodPatch 74 + gcc10Patch 70 75 ]; 71 76 72 77 # By default we don't want to use a display device ··· 137 142 license = licenses.gpl3; 138 143 maintainers = with maintainers; [ abbradar ]; 139 144 platforms = platforms.linux; 140 - # linking fails with multiple error of type: 141 - # multiple definition of `bb_pm_method_string'; src/module.o:(.bss+0x0): first defined here 142 - broken = true; # Added 03-08-2022 143 145 }; 144 146 }