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 , six 11 , numpy 12 , beniget 13 , isPy3k 14 , substituteAll 15 }: ··· 35 gomp = "${if stdenv.cc.isClang then openmp else stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}"; 36 }) 37 ]; 38 39 propagatedBuildInputs = [ 40 ply
··· 10 , six 11 , numpy 12 , beniget 13 + , xsimd 14 , isPy3k 15 , substituteAll 16 }: ··· 36 gomp = "${if stdenv.cc.isClang then openmp else stdenv.cc.cc.lib}/lib/libgomp${stdenv.hostPlatform.extensions.sharedLibrary}"; 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 + ''; 45 46 propagatedBuildInputs = [ 47 ply