diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-05 14:52:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-05 16:13:50 +0100 |
commit | ca465a9c8454289b7aded22719cd5d919e441780 (patch) | |
tree | 4b0eb37a79eacd5df06157dbf6df99cd9d493141 /gnu/packages/golang.scm | |
parent | 18fc84bce86eedb85d44a8708a9a5ef7c1b23da5 (diff) | |
download | guix-patches-ca465a9c8454289b7aded22719cd5d919e441780.tar guix-patches-ca465a9c8454289b7aded22719cd5d919e441780.tar.gz |
gexp: Warn when importing (guix config) or (ice-9 …).
While importing those modules from the host system is valid, it is often
a mistake that introduces non-reproducibility. This patch prints a
warning when that happens.
* guix/gexp.scm (gexp-attribute): Add #:validate parameter and honor it.
(gexp-modules)[validate-modules]: New procedure.
Pass it to 'gexp-attribute'.
* tests/gexp.scm ("gexp-modules, warning"): New test.
Diffstat (limited to 'gnu/packages/golang.scm')
0 files changed, 0 insertions, 0 deletions