unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob f7ef1222edbed7bc98bcb699e4f8ab37ab288c09 406 bytes (raw)
name: gnu/packages/patches/earlyoom-1.6.2-disable-go-module.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
Explicitly disable Go module support for testing with Go >= 1.15

diff --git a/Makefile b/Makefile
index e072c1b..f301f00 100644
--- a/Makefile
+++ b/Makefile
@@ -83,8 +83,8 @@ format: earlyoom
 
 test: earlyoom
 	cppcheck -q . || echo "skipping optional cppcheck"
-	go test -v
+	GO111MODULE=off go test -v
 
 .PHONY: bench
 bench:
-	go test -run=NONE -bench=.
+	GO111MODULE=off go test -run=NONE -bench=.

debug log:

solving f7ef1222ed ...
found f7ef1222ed in https://yhetil.org/guix-patches/d87a3ee5609501d82a1cd386301bb4a10011d3c1.1624602942.git.iskarian@mgsn.dev/

applying [1/1] https://yhetil.org/guix-patches/d87a3ee5609501d82a1cd386301bb4a10011d3c1.1624602942.git.iskarian@mgsn.dev/
diff --git a/gnu/packages/patches/earlyoom-1.6.2-disable-go-module.patch b/gnu/packages/patches/earlyoom-1.6.2-disable-go-module.patch
new file mode 100644
index 0000000000..f7ef1222ed

1:14: trailing whitespace.
 
1:16: space before tab in indent.
 	cppcheck -q . || echo "skipping optional cppcheck"
1:19: trailing whitespace.
 
Checking patch gnu/packages/patches/earlyoom-1.6.2-disable-go-module.patch...
Applied patch gnu/packages/patches/earlyoom-1.6.2-disable-go-module.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 f7ef1222edbed7bc98bcb699e4f8ab37ab288c09	gnu/packages/patches/earlyoom-1.6.2-disable-go-module.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).