[PATCH] guix: platform: Fix typo in lookup-platform-by-target.

DoneSubmitted by Josselin Poiret.
Details
2 participants
  • Josselin Poiret
  • Mathieu Othacehe
Owner
unassigned
Severity
normal
J
J
Josselin Poiret wrote on 8 Jun 11:58 +0200
(address . guix-patches@gnu.org)(name . Josselin Poiret)(address . dev@jpoiret.xyz)
20220608095841.10350-1-dev@jpoiret.xyz
* guix/platform.scm (lookup-platform-by-target): Fix typo system ->
target.
---
guix/platform.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
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
M
M
Mathieu Othacehe wrote on 8 Jun 12:02 +0200
(name . Josselin Poiret)(address . dev@jpoiret.xyz)(address . 55843-done@debbugs.gnu.org)
87fskfqxpr.fsf@gnu.org
Hello,

Toggle quote (3 lines)
> * guix/platform.scm (lookup-platform-by-target): Fix typo system ->
> target.

Oops, pushed as 5011866692cb25fae2e33247b3a4a0603e223f51.

Thanks,

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 55843@debbugs.gnu.org