gexp: Disable deprecation warnings for 'imported-modules'.
commit30d722c392960373bb45c3248d318ef6e248fb67
authorLudovic Courtès <ludo@gnu.org>
Tue, 15 May 2018 08:34:45 +0000 (15 10:34 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 15 May 2018 08:34:45 +0000 (15 10:34 +0200)
tree0336ead03210500647f8d9630c250c19ef075450
parent91e588554919f23b3f2b7307e246303499180bcd
gexp: Disable deprecation warnings for 'imported-modules'.

Fixes <https://bugs.gnu.org/31450>.
Reported by Martin Castillo <castilma@uni-bremen.de>.

* guix/gexp.scm (gexp->derivation): Pass #:deprecation-warnings to
'imported-modules'.
(imported-files): Add #:deprecation-warnings and pass #:env-vars to
'gexp->derivation'.
(imported-modules): Add #:deprecation-warnings and pass it to
'imported-files'.
guix/gexp.scm