gomod2nix/builder
adisbladis df791b8057 go: Drop unnecessary backslash-escape
There's no backslash interpretation going on within single-quote strings
which means there's no need to escape the backslash. Since this was going
on within single-quote strings the $exclude variable ended up having 2
backslashes (`\\`) instead of the intended single backslash. This meant
that the regex that was built up was incorrect. For example prometheus'
exclude contents before and after this change are:

✕: \(/_\|examples\|Godeps\|testdata\\|documentation/prometheus-mixin\)
✓: \(/_\|examples\|Godeps\|testdata\|documentation/prometheus-mixin\)

This is a port of 60543c4f9e
2022-06-14 19:14:19 +08:00
..
install Precompile internal packages instead of using go run 2022-06-13 20:37:42 +08:00
symlink Build non-development packages in the same way as development packages 2022-06-14 08:19:42 +08:00
default.nix go: Drop unnecessary backslash-escape 2022-06-14 19:14:19 +08:00
fetch.sh fetcher: Make sure sources are writable before filtering .ds_store 2022-06-13 20:37:42 +08:00
parser.nix Fix go.mod parser for repeated replace directives 2022-05-29 16:23:37 +08:00