guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Fix packages that were importing Guile modul


From: guix-commits
Subject: branch master updated: gnu: Fix packages that were importing Guile modules from the host.
Date: Thu, 01 Apr 2021 16:33:32 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 77eaf5f  gnu: Fix packages that were importing Guile modules from the 
host.
77eaf5f is described below

commit 77eaf5fcd1e9d64c52f6d42d44a5d1ea72344d4e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Apr 1 22:17:02 2021 +0200

    gnu: Fix packages that were importing Guile modules from the host.
    
    Those packages were importing (ice-9 match) & co. from the host Guile,
    which could potentially lead to different derivations depending on the
    Guile in use.
    
    Uncovered by the warning emitted by 'gexp-modules'.
    
    * gnu/packages/admin.scm (inxi-minimal)[arguments]: Remove Guile modules
    from #:modules.
    * gnu/packages/dns.scm (ddclient)[arguments]: Likewise.
    * gnu/packages/tex.scm (texlive-latex-koma-script)[arguments]: Likewise.
    * gnu/packages/java.scm (openjdk11)[arguments]: Likewise for 
#:imported-modules.
---
 gnu/packages/admin.scm | 5 +----
 gnu/packages/dns.scm   | 4 +---
 gnu/packages/java.scm  | 7 ++-----
 gnu/packages/tex.scm   | 3 +--
 4 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 292a4bc..d5b4d34 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3761,10 +3761,7 @@ Python loading in HPC environments.")
       (native-inputs
        `(("gzip" ,gzip)))
       (arguments
-       `(#:modules
-         ((guix build utils)
-          (ice-9 match)
-          (srfi srfi-26))
+       `(#:modules ((guix build utils))
          #:builder
          (begin
            (use-modules (guix build utils)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 37f8c3a..6d146e6 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -1050,9 +1050,7 @@ LuaJIT, both a resolver library and a daemon.")
        ("perl-digest-sha1" ,perl-digest-sha1)
        ("perl-io-socket-ssl" ,perl-io-socket-ssl)))
     (arguments
-     `(#:modules ((guix build utils)
-                  (ice-9 match)
-                  (srfi srfi-26))
+     `(#:modules ((guix build utils))
        #:builder
        (begin
          (use-modules (guix build utils)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 37716e0..207f136 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2107,11 +2107,8 @@ new Date();"))
     (build-system gnu-build-system)
     (outputs '("out" "jdk" "doc"))
     (arguments
-     `(#:imported-modules
-       ((guix build syscalls)
-        (ice-9 binary-ports)
-        (rnrs bytevectors)
-        ,@%gnu-build-system-modules)
+     `(#:imported-modules ((guix build syscalls)
+                           ,@%gnu-build-system-modules)
        #:tests? #f; requires jtreg
        ;; TODO package jtreg
        #:configure-flags
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d45fe30..ec21221 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6752,8 +6752,7 @@ produce either PostScript or PDF output.")
                 "1vz9zg7s5w52xr323zgglzprfrvba2zvyzf6b8vrdf4wdghlpv4z"))))
     (build-system trivial-build-system)
     (arguments
-     `(#:modules ((guix build utils)
-                  (ice-9 match))
+     `(#:modules ((guix build utils))
        #:builder
        (begin
          (use-modules (guix build utils)



reply via email to

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