From f989dffd2c568de2082d5fe9722588e2fc0cec1f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 26 Apr 2020 12:34:59 +0200 Subject: 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). --- gnu/packages/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f2d45eb07a..9a8bbc78d8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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))) -- cgit v1.2.3