summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-10-17 13:31:01 +0200
committersterni <sternenseemann@systemli.org>2021-11-03 10:40:23 +0100
commit2174bfe6759d3054802ac3143dd9d9cfa732c2aa (patch)
treec83f3ba69a13800824a5d06db5f201184aa71266 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent22a15615c797fca51e7468059d4ebbaa6e72af82 (diff)
chroma: use -X ldflag to do variable substitution in cmd/chroma
Previously this was done rather hackily using substituteInPlace in postFetch, however I've since found out that the way goreleaser does it is actually quite accessible, since it just calls go with the appropriate -X flags. To avoid having to call git in the build to obtain the values and to not rely on leaveDotGit, we can use the JSON populated by nix-prefetch-git which contains the extra information we need: the commit hash and the date.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions