[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] gnu: iproute: Use 'modify-phases'.
From: |
Alex Kost |
Subject: |
[PATCH 1/3] gnu: iproute: Use 'modify-phases'. |
Date: |
Thu, 11 Feb 2016 14:03:17 +0300 |
* 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 <address@hidden>
;;; Copyright © 2015, 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Christopher Allan Webber <address@hidden>
+;;; Copyright © 2016 Alex Kost <address@hidden>
;;;
;;; 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