diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2023-12-29 14:07:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-29 22:07:43 +0800 |
| commit | 836e74d69553b74c557613e1763d99a0ffed0a6e (patch) | |
| tree | 0d0d30a60df0268b0ec169942c88b2002710c439 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 75e6da4bce883e061099527d0915d938cb22690c (diff) | |
python312Packages.array-record: improve eval error
Before the change access to non-existent `.cp312` attribute caused
irrecoverable eval failure:
$ nix build --no-link -f. python312Packages.array-data
...
error: attribute 'cp312' missing
After the change we use `throw` fallback to turn the error into
recoverable:
$ nix build --no-link -f. python312Packages.array-data
...
error: array-record is missing hash for cp312
The difference is visible when one tries to skip the derivations that
throw errors. Irrecoverable eval errors do not allow skipping such
derivations.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
