From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WB07BNi+YmEDDQAAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 12:22:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OCWzOte+YmHxaAAA1q6Kng (envelope-from ) for ; Sun, 10 Oct 2021 10:22:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C742321F50 for ; Sun, 10 Oct 2021 12:22:15 +0200 (CEST) Received: from localhost ([::1]:34988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZVyA-0004dJ-Va for larch@yhetil.org; Sun, 10 Oct 2021 06:22:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZVx1-0003ak-W8 for guix-patches@gnu.org; Sun, 10 Oct 2021 06:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZVx1-00051A-9b for guix-patches@gnu.org; Sun, 10 Oct 2021 06:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZVx1-0003PH-6V for guix-patches@gnu.org; Sun, 10 Oct 2021 06:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50873] [PATCH 4/7] guix home: import: =?UTF-8?Q?Don=E2=80=99t?= use 'slurp-file-gexp'. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Oct 2021 10:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50873@debbugs.gnu.org Cc: Oleg Pykhalov , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andrew Tropin Received: via spool by 50873-submit@debbugs.gnu.org id=B50873.163386123712977 (code B ref 50873); Sun, 10 Oct 2021 10:21:03 +0000 Received: (at 50873) by debbugs.gnu.org; 10 Oct 2021 10:20:37 +0000 Received: from localhost ([127.0.0.1]:54499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZVwb-0003NF-6W for submit@debbugs.gnu.org; Sun, 10 Oct 2021 06:20:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39804 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZVwa-0003Mv-91 for 50873@debbugs.gnu.org; Sun, 10 Oct 2021 06:20:36 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1633861230; bh=aQ3MEdOEL7amLbKpRdawZXHaOI8GJ0v6NxyXPJ6ePIE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=n+dKt0uQGXY8K5cUmN+qGUI6p3pNY4naRSKiCdaV6uEoAf6kKMI7ObIvqTg59Jsk9 fO0o2KX8B+/aaeCv5/1/H+Z56Q43yOHMIcjcaozAE3OElcLT85++95ba27tys5XAo/ LMOtbGtLtW8JVHkvGerc29LVAqbOG+ZlRaXEzjdY= In-Reply-To: References: Message-Id: Date: Sun, 10 Oct 2021 12:20:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633861335; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cncB8g+cCvXAIt1f89MvRWl2e2pt2DaZ2pvW2RhO7So=; b=BFNhOojxhIF19g88yii1y8Se5WGZzFGV/m42qpj8tTgTLWOkCY/x2pfi7rKNWpCx/YAVXo a0LX96/l7GXBSYEq8BG9FBlsuqgG/6c1+R6p9oaO1z5lAqqv/GMzbloA3F7dwq3AF6mH8/ 22rrP9Qe/cyRyLN2skYb34U1nJJv2EztCqKuvomxBjApDwapdaJu2T3XDGoO4IBIBJ3px9 sRA/zT9zLsJLOuPnc8jI+KWsp8nSAkX0d37t5t/4QcnLMOFfhF0PhF1HrUxKtZqBZQ6Md/ BLeP6J8m04bcdHXJGA142eL46Deo68vG4IUwC2K1cTnUIp/kWA10wnfIp1DWLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633861335; a=rsa-sha256; cv=none; b=biZxfSbi8dcFuIHO2mXoy1C5G9Fh/d/uKMbviorV1gHfBxWQyLKqZ2q7cAyc+trqsSsHF6 YaKG5342XPMkp/07eh8zrG3jVxVR9yb8IM+xoDaJjc6goHZa9Vg0XfBXZtY0rTD8zWrGa3 Cc4LFo4SFwFKt7969wxuqGRYtpYp4Lr58cA84zhvBpNr2lnU2e/ppB+a8RCivt+jctWoVM ubpb/vO2qvddPAOsfhLgPiV6isLrLzePo1xnvfkB5OJdroQzRFx4BtFSw4IMDbRfxC5C7q CzQDNU60Dk8u9nbc0OznD2zD8h7p33qmXdlDLaBG/rQileq7oEju5VeDfIFvEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=n+dKt0uQ; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=n+dKt0uQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C742321F50 X-Spam-Score: 1.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: KwH2D3oviDPE =E2=80=98slurp-file-gexp=E2=80=99 is not a bound procedure. * guix/scripts/home/import.scm (generate-bash-configuration+modules): Don= =E2=80=99t use =E2=80=98slurp-file-gexp=E2=80=99. --- guix/scripts/home/import.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/guix/scripts/home/import.scm b/guix/scripts/home/import.scm index 96ed710c2d..21f762f239 100644 --- a/guix/scripts/home/import.scm +++ b/guix/scripts/home/import.scm @@ -51,22 +51,18 @@ (define (destination-append path) (home-bash-configuration ,@(if (file-exists? rc) `((bashrc - (list (slurp-file-gexp - (local-file ,rc))))) + (list (local-file ,rc)))) '()) ,@(if (file-exists? profile) `((bash-profile - (list (slurp-file-gexp - (local-file ,profile))))) + (list (local-file ,profile)))) '()) ,@(if (file-exists? logout) `((bash-logout - (list (slurp-file-gexp - (local-file ,logout))))) + (list (local-file ,logout)))) '()))) (gnu home services shells)))) =20 - (define %files+configurations-alist `((".bashrc" . ,generate-bash-configuration+modules) (".bash_profile" . ,generate-bash-configuration+modules) --=20 2.33.0