summary refs log tree commit diff
path: root/gnu/packages/patches/elixir-path-length.patch
blob: ab99595cff285750a35d1f76784549ca93f0d51b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
In the package definition the call to the command 'git' is substituted with
the full path to the git executable. This change causes the mix formatting tool
to complain that the line is too long. This workaround reformats the file
after the substitution is made.

--- a/Makefile
+++ b/Makefile
@@ -265,6 +265,7 @@ format: compile
	$(call FORMAT)
 
 test_formatted: compile
+	$(call FORMAT,lib/mix/lib/mix/scm/git.ex)
	$(call FORMAT,--check-formatted)
 
 test_erlang: compile $(TEST_ERLS)