build: Always use https substitute URLs.
* config-daemon.ac: Remove GUILE_MODULE_AVAILABLE check for (gnutls).master
parent
ca041ec1a3
commit
234d7ef567
|
@ -118,14 +118,10 @@ if test "x$guix_build_daemon" = "xyes"; then
|
||||||
dnl Check for <linux/fs.h> (for immutable file support).
|
dnl Check for <linux/fs.h> (for immutable file support).
|
||||||
AC_CHECK_HEADERS([linux/fs.h])
|
AC_CHECK_HEADERS([linux/fs.h])
|
||||||
|
|
||||||
dnl Determine the appropriate default list of substitute URLs.
|
dnl Determine the appropriate default list of substitute URLs (GnuTLS
|
||||||
GUILE_MODULE_AVAILABLE([have_gnutls], [(gnutls)])
|
dnl is required so we can default to 'https'.)
|
||||||
if test "x$have_gnutls" = "xyes"; then
|
guix_substitute_urls="https://mirror.hydra.gnu.org"
|
||||||
guix_substitute_urls="https://mirror.hydra.gnu.org"
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([GnuTLS is missing, substitutes will be downloaded in the clear])
|
|
||||||
guix_substitute_urls="http://mirror.hydra.gnu.org"
|
|
||||||
fi
|
|
||||||
AC_MSG_CHECKING([for default substitute URLs])
|
AC_MSG_CHECKING([for default substitute URLs])
|
||||||
AC_MSG_RESULT([$guix_substitute_urls])
|
AC_MSG_RESULT([$guix_substitute_urls])
|
||||||
|
|
||||||
|
|
Reference in New Issue