From f3d1798020e11ed250df1f8e3fd623080706f015 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 26 Jan 2026 15:15:19 +0100 Subject: [PATCH] fix: search-patches is a macro, work with that. --- modules/ruthless/utils.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ruthless/utils.scm b/modules/ruthless/utils.scm index 12898c9cc433cacd838168992cab7a85d1279ba3..6ae4c5cf0b228eab4dc1d5d3374917fef35cec0b 100644 --- a/modules/ruthless/utils.scm +++ b/modules/ruthless/utils.scm @@ -1,7 +1,7 @@ (define-module (ruthless utils) #:use-module (gnu packages) #:use-module (ice-9 match) - #:export (ruthless-search-pathes)) + #:export (ruthless-search-patches)) (define %ruthless-patch-path (and=> (search-path %load-path "ruther/packages") @@ -9,6 +9,6 @@ (list (string-append dir "/patches"))))) -(define* (ruthless-search-patches #:rest args) +(define-syntax-rule (ruthless-search-patches file-name ...) (parameterize ((%patch-path %ruthless-patch-path)) - (apply search-patches args))) + (list (search-patch file-name) ...)))