guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: profiles: Really disable deprecation warnings for 'profile-deriva


From: Ludovic Courtès
Subject: 02/04: profiles: Really disable deprecation warnings for 'profile-derivation'.
Date: Sun, 3 Dec 2017 17:27:10 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit cbb76780ef5e4aed113a1065d96fd6e035f60eaf
Author: Ludovic Courtès <address@hidden>
Date:   Sun Dec 3 22:14:50 2017 +0100

    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'.
---
 guix/profiles.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/profiles.scm b/guix/profiles.scm
index d8b83bf..cedf9fa 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]