From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:32835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUiZv-00025E-MY for guix-patches@gnu.org; Sat, 25 May 2019 22:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUiZu-0001e6-Qm for guix-patches@gnu.org; Sat, 25 May 2019 22:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36510) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUiZu-0001e2-Nz for guix-patches@gnu.org; Sat, 25 May 2019 22:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUiZu-0000fu-Ij for guix-patches@gnu.org; Sat, 25 May 2019 22:08:02 -0400 Subject: [bug#35910] [PATCH] services: Add =?UTF-8?Q?=E2=80=98/usr/bin/env=E2=80=99?= special file. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:60978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUiYp-00020F-5g for guix-patches@gnu.org; Sat, 25 May 2019 22:06:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUiYo-0000xS-5Y for guix-patches@gnu.org; Sat, 25 May 2019 22:06:55 -0400 Received: from tobias.gr ([2001:470:7405::1]:39384) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUiYn-0000vd-Gd for guix-patches@gnu.org; Sat, 25 May 2019 22:06:54 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 5e183ecb for ; Sun, 26 May 2019 02:06:43 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e799f07c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 26 May 2019 02:06:43 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Sun, 26 May 2019 04:06:35 +0200 Message-Id: <20190526020635.20780-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 35910@debbugs.gnu.org * gnu/services/base.scm (%base-services): Add ‘/usr/bin/env‘ to special-files-service-type. --- Guix, I didn't even realise this was ‘missing’. Is there any reason not to include it next to /bin/sh? Sure, it's not pure, but then why provide /bin/sh when nowadays /usr/bin/env is both more common, more flexible,> Feel free to gently enlighten me. Kind regards, T G-R gnu/services/base.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index f709ca5519..444e48f137 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -2382,6 +2383,8 @@ to handle." (service special-files-service-type `(("/bin/sh" ,(file-append (canonical-package bash) - "/bin/sh")))))) + "/bin/sh")) + ("/usr/bin/env" ,(file-append (canonical-package coreutils) + "/usr/bin/env")))))) ;;; base.scm ends here -- 2.21.0