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 | |
| parent | 20571fe2b9b5a8f5a895b761ecbecb4ec7c03124 (diff) | |
gnu: earlyoom: Fix indentation.
* gnu/packages/linux.scm (earlyoom): Fix indentation.
Change-Id: I691b41a03d9cc06afe2e838e2bc5a55ca35e726d
Diffstat (limited to 'gnu/packages')
| -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.") | |||
| 5774 | (source (origin | 5774 | (source (origin |
| 5775 | (method git-fetch) | 5775 | (method git-fetch) |
| 5776 | (uri (git-reference | 5776 | (uri (git-reference |
| 5777 | (url "https://github.com/rfjakob/earlyoom") | 5777 | (url "https://github.com/rfjakob/earlyoom") |
| 5778 | (commit (string-append "v" version)))) | 5778 | (commit (string-append "v" version)))) |
| 5779 | (file-name (git-file-name name version)) | 5779 | (file-name (git-file-name name version)) |
| 5780 | (sha256 | 5780 | (sha256 |
| 5781 | (base32 | 5781 | (base32 |
| @@ -5783,35 +5783,35 @@ from the module-init-tools project.") | |||
| 5783 | (build-system gnu-build-system) | 5783 | (build-system gnu-build-system) |
| 5784 | (arguments | 5784 | (arguments |
| 5785 | (list | 5785 | (list |
| 5786 | #:phases | 5786 | #:phases |
| 5787 | #~(modify-phases %standard-phases | 5787 | #~(modify-phases %standard-phases |
| 5788 | (delete 'configure) ; no configure script | 5788 | (delete 'configure) ; no configure script |
| 5789 | (add-before 'check 'set-go-HOME | 5789 | (add-before 'check 'set-go-HOME |
| 5790 | (lambda _ | 5790 | (lambda _ |
| 5791 | (setenv "HOME" (getcwd)))) | 5791 | (setenv "HOME" (getcwd)))) |
| 5792 | (add-before 'check 'disable-failing-test | 5792 | (add-before 'check 'disable-failing-test |
| 5793 | (lambda _ | 5793 | (lambda _ |
| 5794 | ;; This test relies on writing to /proc/%d/oom_score_adj. | 5794 | ;; This test relies on writing to /proc/%d/oom_score_adj. |
| 5795 | (substitute* "Makefile" | 5795 | (substitute* "Makefile" |
| 5796 | (("go test -v" match) | 5796 | (("go test -v" match) |
| 5797 | (string-append match " -vet=off -skip 'TestI'")))))) | 5797 | (string-append match " -vet=off -skip 'TestI'")))))) |
| 5798 | #:make-flags | 5798 | #:make-flags |
| 5799 | #~(list (string-append "CC=" #$(cc-for-target)) | 5799 | #~(list (string-append "CC=" #$(cc-for-target)) |
| 5800 | (string-append "VERSION=v" #$version) | 5800 | (string-append "VERSION=v" #$version) |
| 5801 | (string-append "PREFIX=" #$output) | 5801 | (string-append "PREFIX=" #$output) |
| 5802 | (string-append "SYSCONFDIR=" #$output "/etc") | 5802 | (string-append "SYSCONFDIR=" #$output "/etc") |
| 5803 | "GO111MODULE=off") | 5803 | "GO111MODULE=off") |
| 5804 | #:test-target "test")) | 5804 | #:test-target "test")) |
| 5805 | (native-inputs | 5805 | (native-inputs |
| 5806 | (append | 5806 | (append |
| 5807 | ;; To generate the manpage. | 5807 | ;; To generate the manpage. |
| 5808 | (if (or (target-x86-64?) (target-x86-32?)) | 5808 | (if (or (target-x86-64?) (target-x86-32?)) |
| 5809 | (list pandoc) | 5809 | (list pandoc) |
| 5810 | '()) | 5810 | '()) |
| 5811 | (list | 5811 | (list |
| 5812 | ;; For the test suite. | 5812 | ;; For the test suite. |
| 5813 | cppcheck | 5813 | cppcheck |
| 5814 | go))) | 5814 | go))) |
| 5815 | (home-page "https://github.com/rfjakob/earlyoom") | 5815 | (home-page "https://github.com/rfjakob/earlyoom") |
| 5816 | (synopsis "Simple out of memory (OOM) daemon for the Linux kernel") | 5816 | (synopsis "Simple out of memory (OOM) daemon for the Linux kernel") |
| 5817 | (description "Early OOM is a minimalist out of memory (OOM) daemon that | 5817 | (description "Early OOM is a minimalist out of memory (OOM) daemon that |
