emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#35910: closed ([PATCH] services: Add ‘/usr/bin/env


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35910: closed ([PATCH] services: Add ‘/usr/bin/env’ special file.)
Date: Fri, 06 Sep 2019 10:29:02 +0000

Your message dated Fri, 06 Sep 2019 12:28:32 +0200
with message-id <87pnkdwwfj.fsf@nckx>
and subject line Re: Scripting guix in guile (Konrad Hinsen)
has caused the debbugs.gnu.org bug report #35910,
regarding [PATCH] services: Add ‘/usr/bin/env’ special file.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
35910: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35910
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] services: Add ‘/usr/bin/env’ special file. Date: Sun, 26 May 2019 04:06:35 +0200
* 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 <address@hidden>
 ;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2019 Efraim Flashner <address@hidden>
+;;; Copyright © 2019 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; 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




--- End Message ---
--- Begin Message --- Subject: Re: Scripting guix in guile (Konrad Hinsen) Date: Fri, 06 Sep 2019 12:28:32 +0200
Konrad,

Konrad Hinsen 写道:
Is there any reason why this isn't defined by default? That would solve
portability problems for lots of scripts, and I don't see any
disadvantage caused by this link.

It is now!

Kind regards,

T G-R

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]