Sorry about that. I edited my above post to correct the code section. I’m about to rerun the build.
Edit: before I reran the build I wanted to make sure the information that I had was correct. So when I first checked the build information I noticed that python was preinstalled on my nano (I’m going to assume that it maybe comes with the Jetpack 4.3 image that I wrote to the SD card. note: I did not use the SDK manager) so I used the python command getBuildInformation of the opencv build. I did this in python2 and python3. In 2 it said the build version was 4.1.1 and that none of the cuda modules were installed. I then check in 3 and it spat out a bunch of errors about not having numpy installed. So I just assumed that it was 4.1.1 installed. Not trusting python at this point I created a c++ executable to read the build version and build information of opencv and it says 4.2.0 installed with all the CUDA modules there.
To put a long story short it seems I have wasted your time a bit. It seems your script ran perfectly and that it was just python giving me false information. Sorry for all the fuss and thank you very much for helping me.