guix-commits
[Top][All Lists]
Advanced

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

01/21: search-paths: Remove redundant uses of 'define-public'.


From: guix-commits
Subject: 01/21: search-paths: Remove redundant uses of 'define-public'.
Date: Thu, 8 Sep 2022 10:24:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e7b8e836709528bde663bff454d97cc3e1ec3994
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Sep 7 15:55:20 2022 +0200

    search-paths: Remove redundant uses of 'define-public'.
    
    * guix/search-paths.scm ($GUIX_EXTENSIONS_PATH, $SSL_CERT_DIR,
    $SSL_CERT_FILE): Use 'define', not 'define-public'.
---
 guix/search-paths.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/search-paths.scm b/guix/search-paths.scm
index 5a0cddac8f..9177a791e3 100644
--- a/guix/search-paths.scm
+++ b/guix/search-paths.scm
@@ -74,7 +74,7 @@
    (variable "PATH")
    (files '("bin" "sbin"))))
 
-(define-public $GUIX_EXTENSIONS_PATH
+(define $GUIX_EXTENSIONS_PATH
   ;; 'GUIX_EXTENSIONS_PATH' is used by Guix to locate extension commands.
   ;; Like 'PATH', it's not attached to any package, so that users don't have
   ;; to install the 'guix' package (which is not supposed to be installed,
@@ -94,13 +94,13 @@
 ;; Additionally, the 'native-search-paths' field is not thunked,
 ;; so doing (package-native-search-paths openssl)
 ;; could cause import cycle issues.
-(define-public $SSL_CERT_DIR
+(define $SSL_CERT_DIR
   (search-path-specification
    (variable "SSL_CERT_DIR")
    (separator #f)              ;single entry
    (files '("etc/ssl/certs"))))
 
-(define-public $SSL_CERT_FILE
+(define $SSL_CERT_FILE
   (search-path-specification
    (variable "SSL_CERT_FILE")
    (file-type 'regular)



reply via email to

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