diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2017-12-03 22:14:50 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-03 23:18:53 +0100 |
| commit | cbb76780ef5e4aed113a1065d96fd6e035f60eaf (patch) | |
| tree | 56b228e760a991a0d109f9163ab7f888aacaef7f | |
| parent | d9721c2096525747c7fbbe008c8100846aefd392 (diff) | |
profiles: Really disable deprecation warnings for 'profile-derivation'.
This is a followup to 2815fca1423cf72e6f3d0e774f1058bcbf8dfdbf.
* guix/profiles.scm (profile-derivation)[builder]: Remove
'debug-disable' call, which was ineffective.
Pass #:env-vars to 'gexp->derivation'.
| -rw-r--r-- | guix/profiles.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm index d8b83bf7305..cedf9faa82f 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm | |||
| @@ -1268,9 +1268,6 @@ are cross-built for TARGET." | |||
| 1268 | (guix search-paths) | 1268 | (guix search-paths) |
| 1269 | (srfi srfi-1)) | 1269 | (srfi srfi-1)) |
| 1270 | 1270 | ||
| 1271 | ;; Don't complain about _IO* on Guile 2.2. | ||
| 1272 | (debug-disable 'warn-deprecated) | ||
| 1273 | |||
| 1274 | (setvbuf (current-output-port) _IOLBF) | 1271 | (setvbuf (current-output-port) _IOLBF) |
| 1275 | (setvbuf (current-error-port) _IOLBF) | 1272 | (setvbuf (current-error-port) _IOLBF) |
| 1276 | 1273 | ||
| @@ -1293,6 +1290,9 @@ are cross-built for TARGET." | |||
| 1293 | #:system system | 1290 | #:system system |
| 1294 | #:target target | 1291 | #:target target |
| 1295 | 1292 | ||
| 1293 | ;; Don't complain about _IO* on Guile 2.2. | ||
| 1294 | #:env-vars '(("GUILE_WARN_DEPRECATED" . "no")) | ||
| 1295 | |||
| 1296 | ;; Not worth offloading. | 1296 | ;; Not worth offloading. |
| 1297 | #:local-build? #t | 1297 | #:local-build? #t |
| 1298 | 1298 | ||
