aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-05 14:52:29 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-05 16:13:50 +0100
commitca465a9c8454289b7aded22719cd5d919e441780 (patch)
tree4b0eb37a79eacd5df06157dbf6df99cd9d493141 /gnu
parent18fc84bce86eedb85d44a8708a9a5ef7c1b23da5 (diff)
downloadguix-ca465a9c8454289b7aded22719cd5d919e441780.tar
guix-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')
0 files changed, 0 insertions, 0 deletions