anchor.diff:  
     # Build-time dependencies of bumblebeed and optirun.
     # Note that it has several runtime dependencies.
  -  buildInputs = [ libX11 glib libbsd ];
  +  buildInputs = [ libX11 glib libbsd ]
  +  ++ [ kmod automake111x autoconf ];
     nativeBuildInputs = [ makeWrapper pkgconfig help2man ];
   
     # The order of LDPATH is very specific: First X11 then the host
  
positive.code: , glib, libbsd
  , libX11, libXext, xorgserver, xkbcomp, kmod, xkeyboard_config, xf86videonouveau
  , nvidia_x11, virtualgl, primusLib
  # The below should only be non-null in a x86_64 system. On a i686
  # system the above nvidia_x11 and virtualgl will be the i686 packages.
  # TODO: Confusing. Perhaps use "SubArch" instead of i686?
  
negative.code:     sha256 = "03p3gvx99lwlavznrpg9l7jnl1yfg2adcj8jcjj0gxp20wxp060h";
    };
  
    patches = [
      ./nixos.patch
  
      modprobePatch
      libkmodPatch
    ];
  
    # By default we don't want to use a display device
    nvidiaDeviceOptions = lib.optionalString (!useDisplayDevice) ''
  