summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-13 14:38:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-14 11:41:19 +0200
commit130703f8c50865f0bb9e274017c4bc96ae598e0a (patch)
treede8a97661f2eb24c091d76c32780a2e4f0ea6ddb /gnu/packages
parent160d0d79234a742d61ba99a5f8bfa08cd948a70d (diff)
downloadguix-130703f8c50865f0bb9e274017c4bc96ae598e0a.tar.gz
gnu: earlyoom: Move snippet to make-flag.
* gnu/packages/linux.scm (earlyoom)[source]: Remove snippet.
[arguments]: Add makeflag to not use go111modules.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/linux.scm12
1 files 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