NixOS/nixpkgs#224646 (comment) mentioned that the way we currently import CUDA from nix is outdated. We should change imports from the outdated
pkgs.cudaPackages.cudatoolkit
to
cudaPackages.{lib,cuda_foo}
@JannisFengler @SpamDoodler This might make WSL compatibility work.