From 2ac42fe51fcbd9b9f36fcfce350da2d483dc0cc9 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 5 Nov 2017 12:01:26 +0100 Subject: gnu: uboot: Fix same-arch? check. * gnu/packages/bootloaders.scm (make-u-boot-package): Compare %current-system to system associated to given triplet. Comparing a system and a triplet didn't make sense. --- gnu/packages/bootloaders.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 62282c99c8..8c093ebe6a 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -338,7 +338,8 @@ also initializes the boards (RAM etc).") (define (make-u-boot-package board triplet) "Returns a u-boot package for BOARD cross-compiled for TRIPLET." - (let ((same-arch? (if (string-prefix? (%current-system) triplet) + (let ((same-arch? (if (string-prefix? (%current-system) + (gnu-triplet->nix-system triplet)) `#t `#f))) (package -- cgit 1.4.1