guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: yadifa: Strip spurious store references.


From: guix-commits
Subject: 02/02: gnu: yadifa: Strip spurious store references.
Date: Wed, 21 Oct 2020 11:09:57 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 576a16995ea26cf9d2c5aebe504c7863d1bc26f2
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Oct 21 16:38:56 2020 +0200

    gnu: yadifa: Strip spurious store references.
    
    * gnu/packages/dns.scm (yadifa)[arguments]: Add an
    ‘omit-spurious-references’ phase.
---
 gnu/packages/dns.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index cd809fa..5e85aba 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -782,6 +782,13 @@ served by AS112.  Stub and forward zones are supported.")
            (lambda _
              (substitute* "Makefile.in"
                ((" (etc|var)") ""))
+             #t))
+         (add-after 'configure 'omit-spurious-references
+           (lambda _
+             ;; The many Makefile.in grep this(!) to #define BUILD_OPTIONS.
+             (substitute* "config.log"
+               (("(=/gnu/store/)[^-]*" _ match)
+                (string-append match "...")))
              #t)))
        #:configure-flags
        (list "--sysconfdir=/etc"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]