From 4e097f8606ddd911be6bc5eb43240cb7acee894d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 6 Oct 2014 19:14:47 +0200 Subject: hydra: Honor 'package-supported-systems'. * guix/packages.scm (%supported-systems): New variable. ()[platforms]: Rename to... [supported-systems]: ... this. Change default to %SUPPORTED-SYSTEMS. * build-aux/hydra/gnu-system.scm (job-name, package->job): New procedures, formerly in 'hydra-jobs'. Honor 'package-supported-systems'. (hydra-jobs): Use them. --- guix/packages.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'guix/packages.scm') diff --git a/guix/packages.scm b/guix/packages.scm index a5b886a403..76e01f3f12 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -69,7 +69,7 @@ package-description package-license package-home-page - package-platforms + package-supported-systems package-maintainers package-properties package-location @@ -85,6 +85,8 @@ package-cross-derivation package-output + %supported-systems + &package-error package-error? package-error-package @@ -173,6 +175,11 @@ corresponds to the arguments expected by `set-path-environment-variable'." (($ variable directories separator) `(,variable ,directories ,separator)))) +(define %supported-systems + ;; This is the list of system types that are supported. By default, we + ;; expect all packages to build successfully here. + '("x86_64-linux" "i686-linux" "mips64el-linux")) + ;; A package. (define-record-type* package make-package @@ -208,7 +215,8 @@ corresponds to the arguments expected by `set-path-environment-variable'." (description package-description) ; one or two paragraphs (license package-license) (home-page package-home-page) - (platforms package-platforms (default '())) + (supported-systems package-supported-systems ; list of strings + (default %supported-systems)) (maintainers package-maintainers (default '())) (properties package-properties (default '())) ; alist for anything else -- cgit v1.2.3