diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 6f920aec9e..89d685b352 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -70,9 +70,10 @@ (define* (qemu-command #:optional (system %host-type)) (let ((cpu (substring system 0 (string-index system #\-)))) (string-append "qemu-system-" - (if (string-match "^i[3456]86$" cpu) - "i386" - cpu)))) + (cond + ((string-match "^i[3456]86$" cpu) "i386") + ((string-match "armhf" cpu) "arm") + (else cpu))))) (define* (load-in-linux-vm builder #:key