GNU bug report logs - #26239
[PATCH] packages: Use "@" as version separator.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Fri, 24 Mar 2017 16:34:01 UTC

Severity: normal

Tags: patch

Merged with 26264, 26265

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Subject: [PATCH] packages: Use "@" as version separator.
Date: Fri, 24 Mar 2017 17:33:44 +0100
* guix/packages.scm (package-full-name): Use "@" instead of "-" to separate
PACKAGE-NAME and PACKAGE-VERSION.
---

Guix,

This is so trivial that I'm mainly posting it to find out *which* obvious
thing I've completely missed. 

Meanwhile, it won't get lost (again) before core-updates reopens for
business.

Kind regards,

T G-R

guix/packages.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/packages.scm b/guix/packages.scm
index 4bc4b01..34bbc5e 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -382,8 +382,8 @@ object."
 
 
 (define (package-full-name package)
-  "Return the full name of PACKAGE--i.e., `NAME-VERSION'."
-  (string-append (package-name package) "-" (package-version package)))
+  "Return the full name of PACKAGE--i.e., `NAME <at> VERSION'."
+  (string-append (package-name package) "@" (package-version package)))
 
 (define (%standard-patch-inputs)
   (let* ((canonical (module-ref (resolve-interface '(gnu packages base))
-- 
2.9.3





This bug report was last modified 7 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.