From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42275) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iByxL-0007lT-KS for guix-patches@gnu.org; Sun, 22 Sep 2019 06:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iByxK-0003fF-GR for guix-patches@gnu.org; Sun, 22 Sep 2019 06:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52833) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iByxK-0003fB-E8 for guix-patches@gnu.org; Sun, 22 Sep 2019 06:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iByxK-0005ft-7i for guix-patches@gnu.org; Sun, 22 Sep 2019 06:19:02 -0400 Subject: [bug#37412] [PATCH 1/2] gnu: Add guix-data-service. Resent-Message-ID: References: <87v9tt1l0h.fsf@cbaines.net> <20190915182127.10525-1-mail@cbaines.net> <87y2yofzqq.fsf@gnu.org> From: Christopher Baines In-reply-to: <87y2yofzqq.fsf@gnu.org> Date: Sun, 22 Sep 2019 11:18:35 +0100 Message-ID: <87pnjs4osk.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37412@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Good morning, Chris! > > Christopher Baines skribis: > >> * gnu/packages/web.scm (guix-data-service): New variable. > > Woohoo! \o/ > >> + (inputs >> + `(("guile" ,guile-2.2) > > Guile should be =E2=80=98native-inputs=E2=80=99 because we use it for its= compiler > (which can act as a =E2=80=9Ccross-compiler=E2=80=9D with =E2=80=98--targ= et=E2=80=99). This makes sense, but the scripts will still refer to the guile used to build the package, so building for a different architecture won't work right? Does the package somehow need to take as input two Guiles, one for build time, and one for runtime? >> + (native-search-paths >> + ;; guile-git requires this to be set >> + (list (search-path-specification >> + (variable "GIT_SSL_CAINFO") >> + (file-type 'regular) >> + (separator #f) >> + (files '("etc/ssl/certs/ca-certificates.crt"))))) > > It=E2=80=99s a bit of a workaround for > , isn=E2=80=99t it? :-) > > What about either removing it, or adding an =E2=80=9CXXX=E2=80=9D to the = comment? I can't quite remember, I think I added that a long while ago when trying to get the Guix service working. I'm not sure it's a great approach. I'll add XXX to the comment though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2HSnxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xez8BAAi+5Tlj9vDZiqwbnsnzNYlPPxLQuIi04TNZJyJvuXy0JtBPyrGNpBYBre rpXM7jfDW+wXzUMjqYaSfL8F7+lEyBFn1ct0JaUeDiWNbUMiNxhaXAt6VyaubjUf MlQYlXzIZ24a6uaCz9hjYz7KZbLa4jS0mY4SzksOdpb3UToY0Rq0Oz6FSkaYQelr o+TElKgIAXEJvMqWSjX8QaF0ylm+6Xl6qRBWcwKtTDIHGEv7qOWKG4IyqaYVd50r XcZx8TvKgb5s0Q5r5Kj7fCD+gR2FP0PHFETDNVdKQpRh41zDk7RTp8iflOu4VY/x W0i9SGNSvTGnv43ZpnVtip9vEZ18usWI5S+Th/RvIeAMpaKlu2YYg+p/UDH6qTIR iKQHyM/8st/YRT2LSABZ1tH1b0qF4PxizHAowCLsgUqqLRKGl/YlBe1VnaGI6MgR ckni2NJNQ2Ovs2HoM6AZNGcYbbDQ3JABO08XQec2BVYi/TKGTY540fUD47J9/tIN JPiK/787FK4yTgxakQ8vB5JWQ++ylmsGhY9vuhvzKkMfyTZYat4krNJFfFuIf0cM GeljeMJ7LfLlf4PxCDO43k30Msx/cuG9Avvdc1Ivcvp05rVX9CP7Kbco6kj2sJiF 5pECTsdTI0Fn/GBI5+xTvTlvlAvfIA7XYeVdm8CQ+SEFWuX5j2w= =lzHu -----END PGP SIGNATURE----- --=-=-=--