unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: Maxime Devos <maximedevos@telenet.be>,
	Arun Isaac <arunisaac@systemreboot.net>,
	54471@debbugs.gnu.org
Subject: [bug#54471] [PATCH core-updates v2 3/3] build-system: font: Move unpack utilities to build-inputs.
Date: Mon, 21 Mar 2022 17:47:22 +0530	[thread overview]
Message-ID: <20220321121722.12575-3-arunisaac@systemreboot.net> (raw)
In-Reply-To: <b3233aba35e714a265b957cf729edf49f595e0fe.camel@telenet.be>

* guix/build-system/font.scm (lower): Move tar, gzip, bzip2, unzip and xz from
host-inputs to build-inputs.
---
 guix/build-system/font.scm | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/guix/build-system/font.scm b/guix/build-system/font.scm
index 74dc80b5db..c43fb9a542 100644
--- a/guix/build-system/font.scm
+++ b/guix/build-system/font.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017, 2022 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -54,20 +54,20 @@ (define private-keywords
   (bag
     (name name)
     (system system)
-    (host-inputs `(,@(if source
-                         `(("source" ,source))
-                         '())
-                   ,@inputs
-                   ,(list "tar" (module-ref (resolve-interface '(gnu packages base)) 'tar))
-                   ,@(let ((compression (resolve-interface '(gnu packages compression))))
-                       (map (match-lambda
-                              ((name package)
-                               (list name (module-ref compression package))))
-                            `(("gzip" gzip)
-                              ("bzip2" bzip2)
-                              ("unzip" unzip)
-                              ("xz" xz))))))
-    (build-inputs native-inputs)
+    (host-inputs inputs)
+    (build-inputs `(,@(if source
+                          `(("source" ,source))
+                          '())
+                    ,@native-inputs
+                    ,(list "tar" (module-ref (resolve-interface '(gnu packages base)) 'tar))
+                    ,@(let ((compression (resolve-interface '(gnu packages compression))))
+                        (map (match-lambda
+                               ((name package)
+                                (list name (module-ref compression package))))
+                             `(("gzip" gzip)
+                               ("bzip2" bzip2)
+                               ("unzip" unzip)
+                               ("xz" xz))))))
     (outputs outputs)
     (build font-build)
     (arguments (strip-keyword-arguments private-keywords arguments))))
-- 
2.34.0





  parent reply	other threads:[~2022-03-21 12:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 11:00 [bug#54471] [PATCH core-updates 0/2] font-build-system: Install web fonts Arun Isaac
2022-03-20 11:02 ` [bug#54471] [PATCH core-updates 1/2] build: " Arun Isaac
2022-03-20 11:02   ` [bug#54471] [PATCH core-updates 2/2] build: font-build-system: Do not return #t from phases Arun Isaac
2022-03-20 11:27 ` [bug#54471] [PATCH core-updates 0/2] font-build-system: Install web fonts Maxime Devos
2022-03-21 12:17   ` Arun Isaac
2022-03-21 12:17   ` [bug#54471] [PATCH core-updates v2 1/3] build: " Arun Isaac
2022-03-21 12:17   ` [bug#54471] [PATCH core-updates v2 2/3] build: font-build-system: Do not return #t from phases Arun Isaac
2022-03-21 12:17   ` Arun Isaac [this message]
2022-04-09 15:56     ` [bug#54471] [PATCH core-updates v2 3/3] build-system: font: Move unpack utilities to build-inputs Arun Isaac
2022-04-09 16:03       ` Maxime Devos
2022-04-09 16:04       ` Maxime Devos
2022-04-09 16:54         ` Arun Isaac
2022-05-15 18:06           ` [bug#54471] [PATCH core-updates 0/2] font-build-system: Install web fonts Ludovic Courtès
2022-05-16  9:44             ` bug#54471: " Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220321121722.12575-3-arunisaac@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=54471@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).