diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 5fde6efae4761771732d468ce8181f9c7bfde709..30169f76d446f823a4631479b7db415699c34dc8 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -192,7 +192,7 @@ (define-public openmpi
              `(("psm2" ,psm2))
              '())
        ,@(if (and (not (%current-target-system))
-                  (member (%current-system) (package-supported-systems psm2)))
+                  (member (%current-system) (package-supported-systems ucx)))
              `(("ucx" ,ucx))
              '())
        ("rdma-core" ,rdma-core)