From patchwork Tue Sep 24 14:01:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 15446 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CA00E1742D; Tue, 24 Sep 2019 15:45:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8E3C51741F for ; Tue, 24 Sep 2019 15:45:29 +0100 (BST) Received: from localhost ([::1]:46520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCm4G-0005XK-Im for patchwork@mira.cbaines.net; Tue, 24 Sep 2019 10:45:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41766) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCm02-0001eW-Q5 for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCm01-0007dw-JK for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCm01-0007dc-FR for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCm01-00060s-Ca for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37466] [WIP v2 6/7] gnu: Add heads-qemu-coreboot. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Sep 2019 14:41:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37466@debbugs.gnu.org Received: via spool by 37466-submit@debbugs.gnu.org id=B37466.156933606123042 (code B ref 37466); Tue, 24 Sep 2019 14:41:05 +0000 Received: (at 37466) by debbugs.gnu.org; 24 Sep 2019 14:41:01 +0000 Received: from localhost ([127.0.0.1]:39839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iClzx-0005zS-2f for submit@debbugs.gnu.org; Tue, 24 Sep 2019 10:41:01 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:45442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iClzZ-0005yC-09 for 37466@debbugs.gnu.org; Tue, 24 Sep 2019 10:40:41 -0400 Received: from localhost.localdomain (178.112.183.13.wireless.dyn.drei.com [178.112.183.13]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 1C911336798E; Tue, 24 Sep 2019 16:40:36 +0200 (CEST) From: Danny Milosavljevic Date: Tue, 24 Sep 2019 16:01:56 +0200 Message-Id: <20190924140157.23564-7-dannym@scratchpost.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190924140157.23564-1-dannym@scratchpost.org> References: <20190920010248.28082-1-dannym@scratchpost.org> <20190924140157.23564-1-dannym@scratchpost.org> MIME-Version: 1.0 Tags: patch X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/heads.scm (heads-qemu-coreboot): New variable. --- gnu/packages/heads.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/heads.scm b/gnu/packages/heads.scm index ef1748b992..8436bf2880 100644 --- a/gnu/packages/heads.scm +++ b/gnu/packages/heads.scm @@ -24,7 +24,8 @@ #:use-module (gnu packages file) #:use-module (gnu packages perl) #:use-module (gnu packages version-control) - #:use-module (gnu packages virtualization)) + #:use-module (gnu packages virtualization) + #:use-module ((guix build utils) #:select (alist-replace))) (define-public musl-cross (let ((revision "1") @@ -578,3 +579,12 @@ servers.") (native-inputs `(("file" ,file) ,@(package-native-inputs heads))))) + +(define-public heads-qemu-coreboot + (package + (inherit heads-coreboot) + (name "heads-qemu-coreboot") + (arguments + `(#:make-flags + '("BOARD=qemu-coreboot") + ,@(package-arguments heads-coreboot)))))