(define (host-ubuntu? host)
(os-ubuntu? (host-os host)))
-(define (host-scheme-architecture darch)
- (cond ((string=? "amd64" darch) "x86-64")
- ((string=? "i386" darch) "i386")
- (else (error "unknown Debian architecture:" darch))))
+(define (host-scheme-architecture host)
+ (let ((darch (host-debian-architecture host)))
+ (cond ((string=? "amd64" darch) "x86-64")
+ ((string=? "i386" darch) "i386")
+ (else (error "unknown Debian architecture:" darch)))))
(define (host-ubuntu-codename host)
(ubuntu-os-codename (host-os host)))