mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 00:06:26 -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> |
||
---|---|---|
.github | ||
maintainers | ||
nix | ||
source | ||
vale | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
.imgbotconfig | ||
.vale.ini | ||
_redirects | ||
CONTRIBUTING.md | ||
default.nix | ||
LICENSE.md | ||
Makefile | ||
overlay.nix | ||
README.md | ||
run_code_block_tests.sh | ||
runtime.txt | ||
shell.nix |
nix.dev
Official documentation for getting things done with Nix.
Contributing
Run nix-shell --run devmode
and open a browser at http://localhost:5500.
As you make changes your browser should auto-reload within a few seconds.
For contents and style see contribution guide.
Content is written in MyST, a superset of CommonMark. For its syntax, see the MyST docs.