diff mbox series

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

Message ID 20220608095841.10350-1-dev@jpoiret.xyz
State Accepted
Headers show
Series [bug#55843] guix: platform: Fix typo in lookup-platform-by-target. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Josselin Poiret June 8, 2022, 9:58 a.m. UTC
* guix/platform.scm (lookup-platform-by-target): Fix typo system ->
target.
---
 guix/platform.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mathieu Othacehe June 8, 2022, 10:02 a.m. UTC | #1
Hello,

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

Oops, pushed as 5011866692cb25fae2e33247b3a4a0603e223f51.

Thanks,

Mathieu
diff mbox series

Patch

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)))