mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
build: Always use https substitute URLs.
* config-daemon.ac: Remove GUILE_MODULE_AVAILABLE check for (gnutls).
This commit is contained in:
parent
ca041ec1a3
commit
234d7ef567
1 changed files with 4 additions and 8 deletions
|
@ -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])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue