gnu: earlyoom: Move snippet to make-flag.
* gnu/packages/linux.scm (earlyoom)[source]: Remove snippet. [arguments]: Add makeflag to not use go111modules.
parent
160d0d7923
commit
130703f8c5
|
@ -3732,14 +3732,7 @@ from the module-init-tools project.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -3760,7 +3753,8 @@ from the module-init-tools project.")
|
||||||
(list ,(string-append "CC=" (cc-for-target))
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "VERSION=v" ,version)
|
(string-append "VERSION=v" ,version)
|
||||||
(string-append "PREFIX=" prefix)
|
(string-append "PREFIX=" prefix)
|
||||||
(string-append "SYSCONFDIR=" prefix "/etc")))
|
(string-append "SYSCONFDIR=" prefix "/etc")
|
||||||
|
"GO111MODULE=off"))
|
||||||
#:test-target "test"))
|
#:test-target "test"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list
|
(list
|
||||||
|
|
Reference in New Issue