Browse Source

gnu: thinkfan: Adjust for Guile 3.0.

* gnu/packages/linux.scm (thinkfan)[arguments]: Provide explicit destination
in calls to FORMAT (destination is no longer optional with Guile 3).
gn-latest-20200428
Marius Bakke 1 year ago
parent
commit
f989dffd2c
No known key found for this signature in database GPG Key ID: A2A06DF2A33A54FA
  1. 2
      gnu/packages/linux.scm

2
gnu/packages/linux.scm

@ -4675,7 +4675,7 @@ feature, and a laptop with an accelerometer. It has no effect on SSDs.")
(share (string-append out "/share/" ,name)))
(substitute* "CMakeLists.txt"
(("pkg_check_modules\\((OPENRC|SYSTEMD) .*" _ package)
(format "option(~a_FOUND \"Faked\" ON)\n" package))
(format #f "option(~a_FOUND \"Faked\" ON)\n" package))
;; That was easy! Now we just need to fix the destinations.
(("/etc" directory)
(string-append out directory)))

Loading…
Cancel
Save