diff options
| author | FireFly <firefly@firefly.nu> | 2024-05-16 23:45:33 +0200 |
|---|---|---|
| committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2025-01-01 13:18:02 +0000 |
| commit | 7c8e422689beadafc548101ad7d33ac956971101 (patch) | |
| tree | 899cfe8db739cb5976ff3279f399180203d33f9c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1c5eed9e587a8ce382accf854ac2998a03217fb7 (diff) | |
nixos-option: rewrite as a nix script
This ports the functionality of the C++ nixos-option to a nix script
(with a tiny shellscript for argument processing and invoking the nix
script). Benefits compared to the native binary include no longer being
tied to a specific nix version, generally improved maintainability and
improved stability.
The main tradeoff is that the C++ version would have better access to
introspecting and reporting errors nicely, but that doesn't seem to have
been the case in practice anyway. The other tradeoff is that we
generate all the output at the end instead of streaming it as we
traverse the option tree.
Co-authored-by: Zhong Jianxin <azuwis@gmail.com>
Co-authored-by: aleksana <me@aleksana.moe>
Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
