diff options
| author | Adam Joseph <adam@westernsemico.com> | 2024-09-05 21:53:54 -0700 |
|---|---|---|
| committer | Adam Joseph <adam@westernsemico.com> | 2024-09-05 21:53:54 -0700 |
| commit | fa8b6b8e2f4939c7c433ec3087cbc677e08fecca (patch) | |
| tree | 3a03d2b303a01fef91de434446772f3b46f1c662 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 0e0665d1e0a05ade073ff23e54b6e389c928af20 (diff) | |
libcCross: set to `null` rather than using `assert` in nonsense scenarios
As discussed in
https://discourse.nixos.org/t/help-me-understand-two-load-bearing-assert-statements/51420
The assertion here tickles (via wine, which is always the biggest headache for
our cross-compilation machinery) a `tryEval` that silently drops any outputs
that `throw` while splicing.
In this case, the `gcc.libgcc` output is `throw`ing due to checking if
`libcCross==null`. The same effect is had by simply setting `libcCross` to
`null` in that situation, and this way we don't have to lean on `tryEval`.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
