summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-12-31 11:40:48 +0000
committerSergei Trofimovich <slyich@gmail.com>2023-12-31 11:44:22 +0000
commit610408381746ee3e4c5b25f04b6db12c8128299b (patch)
tree021f3722519239eb7e22bef77dd37796a3967a84 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent55b9aa64c39d6c34b6ef878fbad405900782e998 (diff)
build-support/fetchgithub: fix metadata eval for arguments without locations
Without the change metadata evaluation fails on package like `zammad.src` where no fields are defined in `.nix `files: src = fetchFromGitHub (lib.importJSON ./source.json); There evaluation fails as: $ nix-instantiate --strict --eval --expr 'with import ./. {}; zammad.src.meta' error: 23| # to indicate where derivation originates, similar to make-derivation.nix's mkDerivation 24| position = "${position.file}:${toString position.line}"; | ^ 25| }; error: value is null while a set was expected After the change evaluation succeeds as: $ nix-instantiate --strict --eval --expr 'with import ./. {}; zammad.src.meta' { homepage = "https://github.com/zammad/zammad"; }
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions