~ruther/guix-local

9f58fe3d1c32e3f0ced065e286532a10cad1b5e3 — Leo Famulari 9 years ago 2d558e3
gnu: glibc/linux: Adjust variable name to upstream change.

* gnu/packages/base.scm (glibc/linux)[arguments]: Change
'libc_cv_localedir' to 'libc_cv_complocaledir' in #:configure-flags.
* gnu/system.scm: (operating-system-environment-variables): Remove
'GUIX_LOCPATH'.
2 files changed, 3 insertions(+), 9 deletions(-)

M gnu/packages/base.scm
M gnu/system.scm
M gnu/packages/base.scm => gnu/packages/base.scm +2 -3
@@ 527,7 527,7 @@ store.")
            ;; Set the default locale path.  In practice, $LOCPATH may be
            ;; defined to point whatever locales users want.  However, setuid
            ;; binaries don't honor $LOCPATH, so they'll instead look into
            ;; $libc_cv_localedir; we choose /run/current-system/locale/X.Y,
            ;; $libc_cv_complocaledir; we choose /run/current-system/locale/X.Y,
            ;; with the idea that it is going to be populated by the sysadmin.
            ;; The "X.Y" sub-directory is because locale data formats are
            ;; incompatible across libc versions; see


@@ 535,8 535,7 @@ store.")
            ;;
            ;; `--localedir' is not honored, so work around it.
            ;; See <http://sourceware.org/ml/libc-alpha/2013-03/msg00093.html>.
            ;; FIXME: This hack no longer works on 2.23!
            (string-append "libc_cv_localedir=/run/current-system/locale/"
            (string-append "libc_cv_complocaledir=/run/current-system/locale/"
                           ,version)

            (string-append "--with-headers="

M gnu/system.scm => gnu/system.scm +1 -6
@@ 545,12 545,7 @@ use 'plain-file' instead~%")

    ;; By default, applications that use D-Bus, such as Emacs, abort at startup
    ;; when /etc/machine-id is missing.  Make sure these warnings are non-fatal.
    ("DBUS_FATAL_WARNINGS" . "0")

    ;; XXX: Normally we wouldn't need to do this, but our glibc@2.23 package
    ;; looks things up in 'PREFIX/lib/locale' instead of
    ;; '/run/current-system/locale' as was intended.
    ("GUIX_LOCPATH" . "/run/current-system/locale")))
    ("DBUS_FATAL_WARNINGS" . "0")))

(define %setuid-programs
  ;; Default set of setuid-root programs.