Loading
python3Packages.jaxlibWithCuda: fix #282184 and refactor
This change snowballed to cover a number of improvements: 1. Fix #282184. The `--config=cuda` flag was lost at some point, disabling CUDA builds even with `cudaSupport = true`. 2. Migrate to using the CUDA redist packages instead of cudatoolkit. 3. Unify stdenv behind `effectiveStdenv` following a pattern that has precedent in OpenCV's derivation and was recommended in https://github.com/NixOS/nixpkgs/pull/288857#discussion_r1490003016.