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.
This commit is contained in:
Ludovic Courtès 2021-04-01 22:17:02 +02:00
parent d064cba7bf
commit c5dd10b24c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
4 changed files with 5 additions and 14 deletions

View file

@ -3766,10 +3766,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)