How to disable `cudaSupport` per package basis?

Hello everyone,

My PC has a gtx 1060 GPU and I would like to use it so I have turned on these nixpkgs.config settings:

  allowUnfree = true;
  cudaCapability = [ "6.1" ];
  cudaSupport = true;

However I have run into trouble when compiling open-webui again and again (OOMs, hash mismatches) so for now I would simply like to turn the cudaSupport of for this package.

Does anyone know how to do it?