mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
b58466875c
The current code has a number of issues. 1. realising the code results in: `` markers=$(geocode 'New York') size=640x640 scale=2 zoom=7 ... ^-------------------^ SC2046 (warning): Quote this to prevent word splitting. `` 2. `` $(geocode ${lib.escapeShellArg marker.location})" `` Assumes that geocode has been added to the PATH so replace with `` ${config.scripts.geocode}/bin/geocode `` as per previous examples. 3. `` in "markers=${ lib.concatStringsSep "\\|" attributes}"; in builtins.map paramForMarker config.map.markers; `` The ordering of this actually creates multiple ``[markers =]`` parameters and does not use the concatenation string to join the attributes together (in effect there is only 1 attribute per call) to map, and 1 new ``marker`` created. Signed-off-by: Brian McGillion <bmg.avoin@gmail.com> |
||
---|---|---|
.. | ||
files | ||
module-system.md |