unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a482c0b2d7f83ebb05c83420355d090eb4332219 592 bytes (raw)
name: gnu/packages/patches/elixir-path-length.patch 	 # note: path name is non-authoritative(*)

 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
@@ -213,6 +213,7 @@
 TEST_ERLS = $(addprefix $(TEST_EBIN)/, $(addsuffix .beam, $(basename $(notdir $(wildcard $(TEST_ERL)/*.erl)))))
 
 test_formatted: compile
+	bin/elixir bin/mix format lib/mix/lib/mix/scm/git.ex
 	bin/elixir bin/mix format --check-formatted
 
 test_erlang: compile $(TEST_ERLS)

debug log:

solving 9cf4e534e9 ...
found 9cf4e534e9 in https://yhetil.org/guix-patches/e357782862cf96e2eeeb064e9ceea279@posteo.net/

applying [1/1] https://yhetil.org/guix-patches/e357782862cf96e2eeeb064e9ceea279@posteo.net/
diff --git a/gnu/packages/patches/elixir-path-length.patch b/gnu/packages/patches/elixir-path-length.patch
new file mode 100644
index 0000000000..9cf4e534e9

1:7: trailing whitespace.
In the package definition the call to the command 'git' is substituted with 
1:16: trailing whitespace.
 
1:19: space before tab in indent.
 	bin/elixir bin/mix format --check-formatted
1:20: trailing whitespace.
 
Checking patch gnu/packages/patches/elixir-path-length.patch...
Applied patch gnu/packages/patches/elixir-path-length.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 a482c0b2d7f83ebb05c83420355d090eb4332219	gnu/packages/patches/elixir-path-length.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).