anchor.diff:      homepage = "https://github.com/Bumblebee-Project/bbswitch";
       maintainers = with maintainers; [ abbradar ];
       license = licenses.gpl2Plus;
  -    broken = kernel.kernelAtLeast "5.18";
     };
   }
  
positive.code:   src = fetchFromGitHub {
      owner = "Bumblebee-Project";
      repo = "bbswitch";
      rev = "v${version}";
      hash = "sha256-FHC8myKnouNDERVds2QCJj1ZstjHrOzFpb+FDiSBjL4=";
    };
  
    patches = [
      (fetchpatch {
        url = "https://github.com/Bumblebee-Project/bbswitch/pull/102.patch";
        sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m";
      })
      (fetchpatch {
        url = "https://github.com/Bumblebee-Project/bbswitch/pull/196.patch";
        sha256 = "02ihy3piws7783qbm9q0mb9s18ipn5ckdy1iar74xn31qjrsn99n";
      })
    ];
  
  
negative.code: 
  let
    baseName = "bbswitch";
    version = "unstable-2021-11-29";
    name = "${baseName}-${version}-${kernel.version}";
  
  in
  