python3Packages.torch: fix by using older kernel headers

+3
+3
pkgs/development/python-modules/torch/default.nix
··· 25 25 # ninja (https://ninja-build.org) must be available to run C++ extensions tests, 26 26 ninja, 27 27 28 + linuxHeaders_5_19, 29 + 28 30 # dependencies for torch.utils.tensorboard 29 31 pillow, six, future, tensorboard, protobuf, 30 32 ··· 224 226 ] ++ lib.optionals cudaSupport [ cudatoolkit_joined ]; 225 227 226 228 buildInputs = [ blas blas.provider pybind11 ] 229 + ++ [ linuxHeaders_5_19 ] # TMP: avoid "flexible array member" errors for now 227 230 ++ lib.optionals cudaSupport [ cudnn magma nccl ] 228 231 ++ lib.optionals stdenv.isLinux [ numactl ] 229 232 ++ lib.optionals stdenv.isDarwin [ CoreServices libobjc ];