profiles: Really disable deprecation warnings for 'profile-derivation'.

This is a followup to 2815fca142.

* guix/profiles.scm (profile-derivation)[builder]: Remove
'debug-disable' call, which was ineffective.
Pass #:env-vars to 'gexp->derivation'.
This commit is contained in:
Ludovic Courtès 2017-12-03 22:14:50 +01:00
parent d9721c2096
commit cbb76780ef
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 3 deletions

View File

@ -1268,9 +1268,6 @@ are cross-built for TARGET."
(guix search-paths)
(srfi srfi-1))
;; Don't complain about _IO* on Guile 2.2.
(debug-disable 'warn-deprecated)
(setvbuf (current-output-port) _IOLBF)
(setvbuf (current-error-port) _IOLBF)
@ -1293,6 +1290,9 @@ are cross-built for TARGET."
#:system system
#:target target
;; Don't complain about _IO* on Guile 2.2.
#:env-vars '(("GUILE_WARN_DEPRECATED" . "no"))
;; Not worth offloading.
#:local-build? #t