summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2018-08-19 14:26:20 +0200
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2018-08-28 18:26:42 +0200
commit4c4fc2299c5e598f3a7f6f1e4a58739244acc975 (patch)
treea8829cf605cb8063c1a1c4235b601ebd268a7026 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent6afd19e699c1505938d54312b522562fd75c8062 (diff)
rust-bindgen: wrap to add required library compilation flags
The easy part is to add NIX_CFLAGS_COMPILE for "regular" libraries. A bit more tricky is to add the required flags for libclang to find libstdcxx. For this we parse arguments to bindgen to look for -x c++ or -xc++ and if found add NIX_CXXSTDLIB_COMPILE to the arguments. This variable is populated by a complex dance of setupHooks. We trigger this by adding clang to propagatedBuildInputs. A more subtle way may exist.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions