diff options
| author | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-16 09:55:01 +0200 |
|---|---|---|
| committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-16 10:01:44 +0200 |
| commit | 27a9800e8539057031ae963177e3b8df795584ca (patch) | |
| tree | a861a902569ac6f5d4365c7d48055b8748252fd5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 80ac778c06aae85b77904a2f6b7ce950c4356cf6 (diff) | |
pwndbg: fix runtime python deps, fixes #71071
pwndbg is a Python module for gdb. The built-in interpreter is used and
pwndbg offers additional routines. Packaging this is tricky because that
interpreter needs to be used. Using `python3.withPackages` won't work.
By setting `NIX_PYTHONPATH`, the interpreter should pick up pwndbg and
its dependencies.
If `NIX_PYTHONPATH` does not function we can fall back to `PYTHONPATH`.
An example of when that won't work is if pwndbg runs a script of itself
in a subshell. `NIX_PYTHONPATH` would be unset, but `PYTHONPATH` not.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
