From patchwork Sun May 26 02:06:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 14082 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 22C0417016; Sun, 26 May 2019 03:08:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CBB7317016 for ; Sun, 26 May 2019 03:08:07 +0100 (BST) Received: from localhost ([127.0.0.1]:49667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUiZy-00025c-Qz for patchwork@mira.cbaines.net; Sat, 25 May 2019 22:08:06 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35910] [PATCH] services: Add =?utf-8?b?4oCYL3Vzci9iaW4vZW52?= =?utf-8?b?4oCZ?= special file. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 May 2019 02:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35910@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15588364222489 (code B ref -1); Sun, 26 May 2019 02:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2019 02:07:02 +0000 Received: from localhost ([127.0.0.1]:50052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUiYw-0000e4-GW for submit@debbugs.gnu.org; Sat, 25 May 2019 22:07:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUiYv-0000dc-Bo for submit@debbugs.gnu.org; Sat, 25 May 2019 22:07:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:43690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUiYq-0000yh-A1 for submit@debbugs.gnu.org; Sat, 25 May 2019 22:06:56 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=aSCGyqRvr HNNiNRLILQfqL2GXgHNdUvEHp19qmVvy2w=; b=m/rZm2aAgdHeFoNyETGgeRcTg ktTAz+EJqb5mNym0pkmfYjmrOhhHS0Lmd0NE50UdZHt7uhMIdxszuPlizdgsXkdg 1CDyyR36YibS2ezf77JYQc6r7dzEoUzGG+ClSCf7EBJCi02KBltP51s4PIpB76j7 Hq9/+YfHGidzmAKCwbzE2dNeTOtlMthvQJ7cYTN00cCJju9PpNkrUOqDIu3Wt8v4 WratRpEU/LL4l4B/oGeKQsMMgaybsEWTogIHDoe5HXTmyFCWut9f8I0qtkLoBOSo kLARG4Wc8Yw+ZG+/fdPqVGjl55nG/r7MfTvde1koRjak0SbdopvrWKMq3NJIA== 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> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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