From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37713) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFlzj-0000nL-O5 for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFlzi-0001dJ-Fx for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57871) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFlzd-0001ba-AG for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFlzd-00013q-48 for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:05 -0400 Subject: [bug#37466] [WIP v4 5/7] gnu: Add heads-coreboot. Resent-Message-ID: From: Danny Milosavljevic Date: Wed, 2 Oct 2019 23:16:00 +0200 Message-Id: <20191002211602.16635-6-dannym@scratchpost.org> In-Reply-To: <20191002211602.16635-1-dannym@scratchpost.org> References: <20190929110750.21214-1-dannym@scratchpost.org> <20191002211602.16635-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37466@debbugs.gnu.org Cc: Danny Milosavljevic * gnu/packages/heads.scm (heads-coreboot): New variable. --- gnu/packages/heads.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/heads.scm b/gnu/packages/heads.scm index 179dab1546..0b6a93d744 100644 --- a/gnu/packages/heads.scm +++ b/gnu/packages/heads.scm @@ -565,3 +565,19 @@ servers.") `(#:make-flags '("BOARD=qemu-linuxboot") ,@(package-arguments heads-linuxboot))))) + +(define heads-coreboot + (package + (inherit heads) + (name "heads-coreboot") + (arguments + (substitute-keyword-arguments (package-arguments heads) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'unpack-heads-packages 'unpack-coreboot + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p "build") + #t)))))) + (native-inputs + `(("file" ,file) + ,@(package-native-inputs heads)))))