guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/15: gnu: earlyoom: Patch tests for go-1.16.


From: guix-commits
Subject: 14/15: gnu: earlyoom: Patch tests for go-1.16.
Date: Thu, 5 Aug 2021 10:03:11 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8cc36f76bbd96d6b6da96fee62515634d9da0803
Author: Sarah Morgensen <iskarian@mgsn.dev>
AuthorDate: Fri Jun 25 00:21:01 2021 -0700

    gnu: earlyoom: Patch tests for go-1.16.
    
    * gnu/packages/linux.scm (earlyoom)[source]: Add snippet to not use
    modules in test suite.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/linux.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4ca2a38..762cd03 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3531,7 +3531,14 @@ from the module-init-tools project.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))))
+                "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (substitute* "Makefile"
+                    (("go test -v")
+                     "GO111MODULE=off go test -v"))
+                  #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]