guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 11924f28b37559a3dc365ba8dbc9264f72675308
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Mar 6 11:49:33 2026 +0000
gnu: earlyoom: Fix indentation.
* gnu/packages/linux.scm (earlyoom): Fix indentation.
Change-Id: I691b41a03d9cc06afe2e838e2bc5a55ca35e726d
---
gnu/packages/linux.scm | 56 +++++++++++++++++++++++++-------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ac2c36491c..ac7ee64917 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5388,8 +5388,8 @@ from the module-init-tools project.")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/rfjakob/earlyoom")
- (commit (string-append "v" version))))
+ (url "https://github.com/rfjakob/earlyoom")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
@@ -5397,35 +5397,35 @@ from the module-init-tools project.")
(build-system gnu-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (add-before 'check 'set-go-HOME
- (lambda _
- (setenv "HOME" (getcwd))))
- (add-before 'check 'disable-failing-test
- (lambda _
- ;; This test relies on writing to /proc/%d/oom_score_adj.
- (substitute* "Makefile"
- (("go test -v" match)
- (string-append match " -vet=off -skip 'TestI'"))))))
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target))
- (string-append "VERSION=v" #$version)
- (string-append "PREFIX=" #$output)
- (string-append "SYSCONFDIR=" #$output "/etc")
- "GO111MODULE=off")
- #:test-target "test"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-before 'check 'set-go-HOME
+ (lambda _
+ (setenv "HOME" (getcwd))))
+ (add-before 'check 'disable-failing-test
+ (lambda _
+ ;; This test relies on writing to /proc/%d/oom_score_adj.
+ (substitute* "Makefile"
+ (("go test -v" match)
+ (string-append match " -vet=off -skip 'TestI'"))))))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "VERSION=v" #$version)
+ (string-append "PREFIX=" #$output)
+ (string-append "SYSCONFDIR=" #$output "/etc")
+ "GO111MODULE=off")
+ #:test-target "test"))
(native-inputs
- (append
- ;; To generate the manpage.
- (if (or (target-x86-64?) (target-x86-32?))
+ (append
+ ;; To generate the manpage.
+ (if (or (target-x86-64?) (target-x86-32?))
(list pandoc)
'())
- (list
- ;; For the test suite.
- cppcheck
- go)))
+ (list
+ ;; For the test suite.
+ cppcheck
+ go)))
(home-page "https://github.com/rfjakob/earlyoom")
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
(description "Early OOM is a minimalist out of memory (OOM) daemon that