guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55843] [PATCH] guix: platform: Fix typo in lookup-platform-by-targe


From: Josselin Poiret
Subject: [bug#55843] [PATCH] guix: platform: Fix typo in lookup-platform-by-target.
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]