diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-06 11:49:33 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-18 14:07:30 +0100 |
| commit | 27259a3d98f5d1a995c662aa60532db8b9b41d07 (patch) | |
| tree | 4752266b2d391dc232b143f35178cbe5838173c2 /gnu/packages/linux.scm | |
| parent | 20571fe2b9b5a8f5a895b761ecbecb4ec7c03124 (diff) | |
gnu: earlyoom: Fix indentation.
* gnu/packages/linux.scm (earlyoom): Fix indentation.
Change-Id: I691b41a03d9cc06afe2e838e2bc5a55ca35e726d
Diffstat (limited to 'gnu/packages/linux.scm')
| -rw-r--r-- | gnu/packages/linux.scm | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index a51fe309995..5310d1bd9b1 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5774,8 +5774,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 @@ -5783,35 +5783,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 |
