python3Packages.pythran: unvendor the xsimd dependency

https://hydra.nixos.org/build/229711355/nixlog/150/tail
https://github.com/NixOS/nixpkgs/pull/246200#issuecomment-1658719714

pythran doesn't seem to support building with external xsimd,
but this source-symlink seems to work fine and it's header-only
C++ library anyway.

+7
+7
pkgs/development/python-modules/pythran/default.nix
··· 10 10 , six 11 11 , numpy 12 12 , beniget 13 + , xsimd 13 14 , isPy3k 14 15 , substituteAll 15 16 }: ··· 35 36 gomp = "${if stdenv.cc.isClang then openmp else stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}"; 36 37 }) 37 38 ]; 39 + 40 + # xsimd: unvendor this header-only C++ lib 41 + postPatch = '' 42 + rm -r third_party/xsimd 43 + ln -s '${lib.getDev xsimd}'/include/xsimd third_party/ 44 + ''; 38 45 39 46 propagatedBuildInputs = [ 40 47 ply