Subject: [bug#55843] [PATCH] guix: platform: Fix typo in lookup-platform-by-target.

From: Josselin Poiret <[email-masked]>
Date: Wed, 8 Jun 2022 11:58:41 +0200

* guix/platform.scm (lookup-platform-by-target): Fix typo system ->
target.
---
 guix/platform.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/platform.scm b/guix/platform.scm
index 361241cb2e..19d4527e29 100644
--- a/guix/platform.scm
+++ b/guix/platform.scm
@@ -121,7 +121,7 @@ (define (platform-system->target system)
 (define (platform-target->system target)
   "Return the system matching the given TARGET if it exists or false
 otherwise."
-  (let ((platform (lookup-platform-by-target system)))
+  (let ((platform (lookup-platform-by-target target)))
     (and=> platform platform-system)))
 
 
-- 
2.36.1