summaryrefslogtreecommitdiff
path: root/guix/platform.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/platform.scm')
-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)))