From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56110) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFm1H-0007sy-3J for guix-patches@gnu.org; Sat, 21 Mar 2020 17:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFm1G-0003I0-6m for guix-patches@gnu.org; Sat, 21 Mar 2020 17:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFm1G-0003Hl-3o for guix-patches@gnu.org; Sat, 21 Mar 2020 17:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFm1G-0007l3-2I for guix-patches@gnu.org; Sat, 21 Mar 2020 17:51:02 -0400 Subject: [bug#40162] [PATCH] gnu: guix-data-service: Update to 0.0.1-19.d12909d. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200321092259.2729-1-mail@cbaines.net> Date: Sat, 21 Mar 2020 22:50:02 +0100 In-Reply-To: <20200321092259.2729-1-mail@cbaines.net> (Christopher Baines's message of "Sat, 21 Mar 2020 09:22:59 +0000") Message-ID: <874kuhxtrp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Christopher Baines Cc: 40162@debbugs.gnu.org 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 binari= es > 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? Thanks, Ludo=E2=80=99.