From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 1/3] gnu: iproute: Use 'modify-phases'. Date: Thu, 11 Feb 2016 14:03:17 +0300 Message-ID: <1455188599-5715-2-git-send-email-alezost@gmail.com> References: <1455188599-5715-1-git-send-email-alezost@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTp2N-0006QD-FI for guix-devel@gnu.org; Thu, 11 Feb 2016 06:03:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTp24-0003p1-UN for guix-devel@gnu.org; Thu, 11 Feb 2016 06:03:51 -0500 Received: from mail-lb0-x244.google.com ([2a00:1450:4010:c04::244]:33735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTp24-0003or-JI for guix-devel@gnu.org; Thu, 11 Feb 2016 06:03:32 -0500 Received: by mail-lb0-x244.google.com with SMTP id bc4so2117766lbc.0 for ; Thu, 11 Feb 2016 03:03:32 -0800 (PST) Received: from localhost.localdomain ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id wj2sm1102995lbb.5.2016.02.11.03.03.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 03:03:31 -0800 (PST) In-Reply-To: <1455188599-5715-1-git-send-email-alezost@gmail.com> 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 * gnu/packages/linux.scm (iproute)[arguments]: Use 'modify-phases'. --- gnu/packages/linux.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e7f7bcd..a6e3ec9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2016 Christopher Allan Webber +;;; Copyright © 2016 Alex Kost ;;; ;;; This file is part of GNU Guix. ;;; @@ -887,13 +888,12 @@ packet filter.") (string-append "DOCDIR=" out "/share/doc/" ,name "-" ,version) (string-append "MANDIR=" out "/share/man"))) - #:phases (alist-cons-before - 'install 'pre-install - (lambda _ - ;; Don't attempt to create /var/lib/arpd. - (substitute* "Makefile" - (("^.*ARPDDIR.*$") ""))) - %standard-phases))) + #:phases (modify-phases %standard-phases + (add-before 'install 'pre-install + (lambda _ + ;; Don't attempt to create /var/lib/arpd. + (substitute* "Makefile" + (("^.*ARPDDIR.*$") ""))))))) (inputs `(("iptables" ,iptables) ("db4" ,bdb))) -- 2.6.3