@@ -52,7 +52,7 @@
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
-;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021,2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
@@ -110,12 +110,13 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
- #:use-module (gnu packages golang)
+ ;; Don't import these modules here, otherwise a cycle would result.
+ ;; #:use-module (gnu packages golang)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gstreamer)
- ;; Don't import that module here, otherwise a cycle would result.
+ ;; Don't import these modules here, otherwise a cycle would result.
;; #:use-module (gnu packages gtk)
- #:use-module (gnu packages haskell-xyz)
+ ;; #:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages llvm)
@@ -3771,12 +3772,17 @@ from the module-init-tools project.")
(append
;; To generate the manpage.
(if (or (target-x86-64?) (target-x86-32?))
- (list pandoc)
+ ;; Avoid adding Haskelland to the module closure
+ ;; when all we need is util-linux.
+ (list (module-ref (resolve-interface '(gnu packages haskell-xyz))
+ 'pandoc))
'())
(list
;; For the test suite.
cppcheck
- go)))
+ ;; Avoid adding 'golang' and its dependencies Rubyland and
+ ;; Nodeland to the module closure when all we need is util-linux.
+ (module-ref (resolve-interface '(gnu packages golang)) '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