diff options
| -rw-r--r-- | config-daemon.ac | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/config-daemon.ac b/config-daemon.ac index d409ce01171..825b5971dfa 100644 --- a/config-daemon.ac +++ b/config-daemon.ac | |||
| @@ -118,14 +118,10 @@ if test "x$guix_build_daemon" = "xyes"; then | |||
| 118 | dnl Check for <linux/fs.h> (for immutable file support). | 118 | dnl Check for <linux/fs.h> (for immutable file support). |
| 119 | AC_CHECK_HEADERS([linux/fs.h]) | 119 | AC_CHECK_HEADERS([linux/fs.h]) |
| 120 | 120 | ||
| 121 | dnl Determine the appropriate default list of substitute URLs. | 121 | dnl Determine the appropriate default list of substitute URLs (GnuTLS |
| 122 | GUILE_MODULE_AVAILABLE([have_gnutls], [(gnutls)]) | 122 | dnl is required so we can default to 'https'.) |
| 123 | if test "x$have_gnutls" = "xyes"; then | 123 | guix_substitute_urls="https://mirror.hydra.gnu.org" |
| 124 | guix_substitute_urls="https://mirror.hydra.gnu.org" | 124 | |
| 125 | else | ||
| 126 | AC_MSG_WARN([GnuTLS is missing, substitutes will be downloaded in the clear]) | ||
| 127 | guix_substitute_urls="http://mirror.hydra.gnu.org" | ||
| 128 | fi | ||
| 129 | AC_MSG_CHECKING([for default substitute URLs]) | 125 | AC_MSG_CHECKING([for default substitute URLs]) |
| 130 | AC_MSG_RESULT([$guix_substitute_urls]) | 126 | AC_MSG_RESULT([$guix_substitute_urls]) |
| 131 | 127 | ||
