summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2022-06-08 11:58:41 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-06-08 12:02:03 +0200
commit5011866692cb25fae2e33247b3a4a0603e223f51 (patch)
tree0f194b70a484fbec9a42bbe56d87cfb36e903745
parent0e0296af4e46f51e25ebe1c484c9b59c1085474e (diff)
downloadguix-5011866692cb25fae2e33247b3a4a0603e223f51.tar.gz
guix: platform: Fix typo in lookup-platform-by-target.
* guix/platform.scm (lookup-platform-by-target): Fix typo system ->
target.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r--guix/platform.scm2
1 files changed, 1 insertions, 1 deletions
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 @@ otherwise."
 (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)))