From 7749477876247199b0726d8dc6e93991a0c0c0f2 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 5 Sep 2024 23:48:34 +0800 Subject: services: nscd: When cross-compiling, Use (cross-libc target). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/base.scm (nscd-configuration)[glibc]: When cross-compiling, Use (cross-libc target). Change-Id: Ib219459b1ec28f7edfac075e70be3d61edf72d27 Signed-off-by: Ludovic Courtès --- gnu/services/base.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 819d063673..d0a57a8807 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2022 ( ;;; Copyright © 2023 Bruno Victal +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -67,6 +68,8 @@ (define-module (gnu services base) libc-utf8-locales-for-target make-glibc-utf8-locales tar canonical-package)) + #:use-module ((gnu packages cross-base) + #:select (cross-libc)) #:use-module ((gnu packages compression) #:select (gzip)) #:use-module (gnu packages fonts) #:autoload (gnu packages guile-xyz) (guile-netlink) @@ -1317,7 +1320,7 @@ (define-record-type* nscd-configuration ;; from 'glibc-final' instead of pulling in a second ;; glibc copy. (if target - glibc + (cross-libc target) (canonical-package glibc)))))) (define-record-type* nscd-cache make-nscd-cache -- cgit v1.2.3