From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEX4a-0001Br-Vf for guix-patches@gnu.org; Sun, 29 Sep 2019 07:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEX4Z-00084L-M6 for guix-patches@gnu.org; Sun, 29 Sep 2019 07:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43518) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEX4Z-00083y-Hr for guix-patches@gnu.org; Sun, 29 Sep 2019 07:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEX4Z-0007bq-B1 for guix-patches@gnu.org; Sun, 29 Sep 2019 07:09:03 -0400 Subject: [bug#37466] [WIP v3 5/7] gnu: Add heads-coreboot. Resent-Message-ID: From: Danny Milosavljevic Date: Sun, 29 Sep 2019 13:07:48 +0200 Message-Id: <20190929110750.21214-6-dannym@scratchpost.org> In-Reply-To: <20190929110750.21214-1-dannym@scratchpost.org> References: <20190924140157.23564-1-dannym@scratchpost.org> <20190929110750.21214-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)))))