build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH. * guix/build/ruby-build-system.scm (install): Ignore the Ruby patch version when creating $GEM_HOME.
gnu: cmake: Add CMAKE_PREFIX_PATH as a native search path, and drop CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH from the cmake build system. * gnu/packages/cmake.scm (cmake)[native-search-paths]: New field. * guix/build/cmake-build-system.scm (configure): Drop environment variables CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH.
Merge branch 'core-updates'.
build: ruby: Install executables in /bin. * guix/build/ruby-build-system.scm (install): Add '--bindir' flag to gem command.
build: ruby: Add gitify phase. * guix/build-system/ruby.scm (lower): Add git as implicit input. * guix/build/ruby-build-system.scm (gitify): New procedure. (%standard-phases): Add gitify phase.
Revert "build-system/gnu: Keep the sloppy conversion strategy during bootstrap." This reverts commit b479c3ddaf85c831e34888229849bc1ce34419de. This commit was the result of an incorrect characterization of the problem; see the log of commit 87c8b92 for details.
build-system/gnu: Keep the sloppy conversion strategy during bootstrap. * guix/build/gnu-build-system.scm (gnu-build): Leave %DEFAULT-PORT-CONVERSION-STRATEGY unchanged when 'string->bytevector' fails to convert to ISO-8859-1. This is an attempt to work around the build failures at <http://hydra.gnu.org/build/263002>.
utils: Treat 'configure' and Makefiles with an 8-bit encoding. * guix/build/utils.scm (patch-makefile-SHELL, patch-/usr/bin/file): Wrap 'substitute*' in 'with-fluids'. Fixes <http://hydra.gnu.org/build/262895>.
packages: Set the port conversion strategy to 'error'. Suggested by Mark H Weaver. * guix/build/gnu-build-system.scm (gnu-build): Set %DEFAULT-PORT-CONVERSION-STRATEGY to 'error. * guix/packages.scm (patch-and-repack)[builder]: Likewise.
utils: Change 'patch-shebangs' to use binary input. * guix/build/utils.scm (get-char*): New procedure. (patch-shebang): Use it instead of 'read-char'. (fold-port-matches): Remove local 'get-char' and use 'get-char*' instead.
download: Comment on lack of progress report with chunked encoding. * guix/build/download.scm (progress-proc): Add comment.
download: Measure and display the throughput. * guix/build/download.scm (duration->seconds, throughput->string): New procedures. (progress-proc): Measure and display the throughput.
download: Abstract the receive buffer size. * guix/build/download.scm (%http-receive-buffer-size): New variable. (progress-proc, tls-wrap, http-fetch): Use it.
utils: Call the progress-report proc when 'dump-port' starts. * guix/build/utils.scm (dump-port): Add call to PROGRESS at the beginning.
build-system/gnu: Set $LC_ALL (or similar) to the chosen locale. Suggested by Mark H Weaver. * guix/build/utils.scm (locale-category->string): New procedure. * guix/build/gnu-build-system.scm (install-locale): Add 'setenv' call.
build-system/cmake: Enable verbose output from Makefile builds. * guix/build/cmake-build-system.scm (configure): Pass -DCMAKE_VERBOSE_MAKEFILE=ON to cmake.
build-system/gnu: Add 'install-locale' phase. * guix/build/gnu-build-system.scm (install-locale): New procedure. (%standard-phases): Add it. * guix/build-system/gnu.scm (gnu-build): Add #:locale and pass it to the build script. (gnu-cross-build): Likewise.
build-system: Use 'modify-phases'. * guix/build/cmake-build-system.scm (%standard-phases): Use 'modify-phases' instead of alist-*. * guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise. * guix/build/gnu-dist.scm (%dist-phases): Likewise. * guix/build/perl-build-system.scm (%standard-phases): Likewise. * guix/build/python-build-system.scm (%standard-phases): Likewise. * guix/build/ruby-build-system.scm (%standard-phases): Likewise. * guix/build/waf-build-system.scm (%standard-phases): Likewise.
utils: Add 'modify-phases'. * guix/build/utils.scm (modify-phases): New macro.
build-system/gnu: Add support for zip archives. Fixes <http://bugs.gnu.org/19866>. Reported by Andreas Enge <andreas@enge.fr>. * guix/build/gnu-build-system.scm (unpack): Use 'unzip' when SOURCE ends in '.zip'.