From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHa3j-0006g7-CW for guix-patches@gnu.org; Thu, 26 Mar 2020 17:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHa3i-0001iE-Am for guix-patches@gnu.org; Thu, 26 Mar 2020 17:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHa3i-0001i1-83 for guix-patches@gnu.org; Thu, 26 Mar 2020 17:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHa3i-0001vt-5L for guix-patches@gnu.org; Thu, 26 Mar 2020 17:29:02 -0400 Subject: [bug#40162] [PATCH] gnu: guix-data-service: Update to 0.0.1-19.d12909d. Resent-Message-ID: References: <20200321092259.2729-1-mail@cbaines.net> <874kuhxtrp.fsf@gnu.org> From: Christopher Baines In-reply-to: <874kuhxtrp.fsf@gnu.org> Date: Thu, 26 Mar 2020 21:28:05 +0000 Message-ID: <87tv2akdqy.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: 40162@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi! > > Christopher Baines skribis: > >> These changes support the guix-data-service-backup-database and >> guix-data-service-create-small-backup scripts. These are shell scripts, = so >> require coreutils from the build environment at runtime as well as binar= ies >> from postgresql, ephemeralpg and optionally util-linux (for ionice and >> renice). >> >> * gnu/packages/web.scm (guix-data-service): Update to 0.0.1-19.d12909d. >> [arguments]: Add (ice-9 ftw) and (ice-9 match) to #:modules, change the >> 'install phase to wrap all bin files with the PATH at build time. >> [inputs]: Add util-linux and include ephemeralpg from native-inputs. >> [native-inputs]: Move ephemeralpg to inputs. > > [...] > >> (lambda (file) >> + (simple-format (current-error-port) >> + "wrapping: ~A\n" >> + (string-append bin "/" file)) >> (wrap-program (string-append bin "/" file) >> `("PATH" ":" prefix >> - (,bin)) >> + (,bin ,(getenv "PATH"))) > > If I=E2=80=99m not mistaken, this would keep references to GCC, etc. > > What about explicitly listing the things that you list above? Indeed, I've sent another patch which explicitly lists some inputs. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl59HmVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdHZBAAjPeovoyaz5bzLJJFd8Anv0N34aJKTY/4TUjz9/N8P8Ysu7tEY4h6VZJb +W3b+ZHpCa8vxF+lQ71uQzYxw47oojGAJQXJFC+Zj8ug0a1lHnTNfmoaeqbJ9Otj wXk3BjPTiOoA+DCUufEpcKPNxDtUbkiBSBPjIXzbRsd9kqxiH4Dqq6QZWHyU+Anh 8bRMrHx2bx3ZEaVekAN9HGSmVJwmjMUGOPMKoQgW6rOA4N8PVmfbfAKhr8J0NQzW mVw+J8xBTK8SUbsTozXn4mXsaJRu425szVWSNT4WbJ2/m++89LVh0fTXnI9lgs6k kaWIXHYz06TYdRv1ZkYWCzQdtDo4cw2tkLxJqitxJGXj2ZAYdV+W0VlPSBLtKOMe Ej93qt4HmWlStV53Z1b033Ul64SjGrLBKf+BfsrikROyuz7sEQsG1Yt8/oAowgcP WzGLdHafvLh5cO2zxcGoyHIqtjHbVkPGaEYn/ACTVJ/8UIfgaHMmtJ5sZLvsfvqy fWLFDQQ23HvT08S/LPcRPp3nrUeQdAgAcs1pFcRtxs9oc7WM8BwQz8PUdXxPV5c+ huVITMdCLsa4bCaEWLY/wsDHG1I969T0WGrM78qmtmdUTpXD7BPfdhiyar7aGcP4 sPMHihCEYRYxKKuEbLNAq3kpibJuoL8xXXk1zpEuoBg1Ydo9dXk= =yN15 -----END PGP SIGNATURE----- --=-=-=--