unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita.karetnikov@gmail.com>
To: bug-guix@gnu.org
Subject: [PATCH] distro: Rename 'gettext' to 'guix:gettext'.
Date: Tue, 27 Nov 2012 23:17:06 +0300	[thread overview]
Message-ID: <CAD15K4sn28H8QK=RBtWY2eoYhudFnHme44yPuETu-io8oEA-WQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-distro-Rename-gettext-to-guix-gettext.patch --]
[-- Type: text/x-diff, Size: 2181 bytes --]

From 3026baf2a7c37721217567cade9f15d1336d6d9d Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
Date: Tue, 27 Nov 2012 20:06:18 +0000
Subject: [PATCH] distro: Rename 'gettext' to 'guix:gettext'.

* distro/packages/nano.scm (symbol-prefix-proc),
  distro/packages/wget.scm (symbol-prefix-proc): New functions.
* distro/packages/nano.scm (inputs),
  distro/packages/wget.scm (inputs): Rename 'gettext' to 'guix:gettext'.
---
 distro/packages/nano.scm |    5 +++--
 distro/packages/wget.scm |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/distro/packages/nano.scm b/distro/packages/nano.scm
index e4a39a8..e87c679 100644
--- a/distro/packages/nano.scm
+++ b/distro/packages/nano.scm
@@ -17,7 +17,8 @@
 ;;; along with Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (distro packages nano)
-  #:use-module (distro packages gettext)
+  #:use-module ((distro packages gettext)
+                #:renamer (symbol-prefix-proc 'guix:))
   #:use-module (distro packages ncurses)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -37,7 +38,7 @@
         "0yp6pid67k8h7394spzw0067fl2r7rxm2b6kfccg87g8nlry2s5y"))))
     (build-system gnu-build-system)
     (inputs
-     `(("gettext" ,gettext)
+     `(("gettext" ,guix:gettext)
        ("ncurses" ,ncurses)))
     (home-page "http://www.nano-editor.org/")
     (synopsis
diff --git a/distro/packages/wget.scm b/distro/packages/wget.scm
index db81042..9d877ec 100644
--- a/distro/packages/wget.scm
+++ b/distro/packages/wget.scm
@@ -17,7 +17,8 @@
 ;;; along with Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (distro packages wget)
-  #:use-module (distro packages gettext)
+  #:use-module ((distro packages gettext)
+                #:renamer (symbol-prefix-proc 'guix:))
   #:use-module (distro packages gnutls)
   #:use-module (distro packages perl)
   #:use-module (guix packages)
@@ -40,7 +41,7 @@
     (inputs
      `(("gnutls" ,gnutls)
        ("perl" ,perl)
-       ("gettext" ,gettext)))
+       ("gettext" ,guix:gettext)))
     (arguments
      '(#:phases
        (alist-cons-before 'build 'patch-/usr/bin/env
-- 
1.7.5.4


             reply	other threads:[~2012-11-27 20:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 20:17 Nikita Karetnikov [this message]
2012-11-27 23:28 ` [PATCH] distro: Rename 'gettext' to 'guix:gettext' Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD15K4sn28H8QK=RBtWY2eoYhudFnHme44yPuETu-io8oEA-WQ@mail.gmail.com' \
    --to=nikita.karetnikov@gmail.com \
    --cc=bug-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).