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).
This commit is contained in:
Marius Bakke 2020-04-26 12:34:59 +02:00
parent 660611e5f6
commit f989dffd2c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4675,7 +4675,7 @@ (define-public thinkfan
(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)))