guix-commits
[Top][All Lists]
Advanced

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

05/27: gnu: earlyoom: Move snippet to make-flag.


From: guix-commits
Subject: 05/27: gnu: earlyoom: Move snippet to make-flag.
Date: Fri, 14 Jan 2022 04:43:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 130703f8c50865f0bb9e274017c4bc96ae598e0a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 13 14:38:22 2022 +0200

    gnu: earlyoom: Move snippet to make-flag.
    
    * gnu/packages/linux.scm (earlyoom)[source]: Remove snippet.
    [arguments]: Add makeflag to not use go111modules.
---
 gnu/packages/linux.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f9f374d8f8..37de4391af 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3732,14 +3732,7 @@ from the module-init-tools project.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  (substitute* "Makefile"
-                    (("go test -v")
-                     "GO111MODULE=off go test -v"))
-                  #t))))
+                "16iyn51xlrsbshc7p5xl2338yyfzknaqc538sa7mamgccqwgyvvq"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
@@ -3760,7 +3753,8 @@ from the module-init-tools project.")
                       (list ,(string-append "CC=" (cc-for-target))
                             (string-append "VERSION=v" ,version)
                             (string-append "PREFIX=" prefix)
-                            (string-append "SYSCONFDIR=" prefix "/etc")))
+                            (string-append "SYSCONFDIR=" prefix "/etc")
+                            "GO111MODULE=off"))
        #:test-target "test"))
     (native-inputs
       (list



reply via email to

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