From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH] packages: Remove dead code. Date: Sun, 17 Aug 2014 22:09:07 +0400 Message-ID: <87lhqnc7jw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ4tL-0002wW-ET for guix-devel@gnu.org; Sun, 17 Aug 2014 14:09:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ4tC-0003Hp-Ef for guix-devel@gnu.org; Sun, 17 Aug 2014 14:09:19 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:46239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ4tC-0003Hj-5q for guix-devel@gnu.org; Sun, 17 Aug 2014 14:09:10 -0400 Received: by mail-lb0-f175.google.com with SMTP id 10so3380449lbg.20 for ; Sun, 17 Aug 2014 11:09:08 -0700 (PDT) Received: from leviafan (128-70-193-103.broadband.corbina.ru. [128.70.193.103]) by mx.google.com with ESMTPSA id r8sm9008620laa.34.2014.08.17.11.09.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Aug 2014 11:09:06 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable If I understand correctly, =E2=80=98_=E2=80=99 is redundant in =E2=80=9Cgnu= /packages.scm=E2=80=9D as it is already defined in (guix ui). Also I fixed a double space in this commit (not sure if it's acceptable here). Also if this patch is OK, should a commit message be improved somehow? --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-packages-Remove-dead-code.patch >From 376f974e1adad42882985cfc94f2ef4fde127948 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sun, 17 Aug 2014 21:49:16 +0400 Subject: [PATCH] packages: Remove dead code. * gnu/packages.scm (_): Remove. Remove an extra space. --- gnu/packages.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages.scm b/gnu/packages.scm index 77d9d3e..83093a4 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm @@ -50,8 +50,6 @@ ;;; ;;; Code: -(define _ (cut gettext <> "guix")) - ;; By default, we store patches and bootstrap binaries alongside Guile ;; modules. This is so that these extra files can be found without ;; requiring a special setup, such as a specific installation directory @@ -60,7 +58,7 @@ (define %patch-path (make-parameter - (map (cut string-append <> "/gnu/packages/patches") + (map (cut string-append <> "/gnu/packages/patches") %load-path))) (define %bootstrap-binaries-path -- 2.0.3 --=-=-=--