From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AKFwFs4hfWFtowAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 12:43:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0K0fEs4hfWFURgAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 10:43:26 +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 26701358BF for ; Sat, 30 Oct 2021 12:43:26 +0200 (CEST) Received: from localhost ([::1]:52612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mglpd-0001i9-8e for larch@yhetil.org; Sat, 30 Oct 2021 06:43:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mglpI-0000uM-B8 for guix-patches@gnu.org; Sat, 30 Oct 2021 06:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mglpI-0001sd-2f for guix-patches@gnu.org; Sat, 30 Oct 2021 06:43:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mglpI-0002be-0r for guix-patches@gnu.org; Sat, 30 Oct 2021 06:43:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50873] [PATCH v3 4/8] 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: Sat, 30 Oct 2021 10:43: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, Oleg Pykhalov , Andrew Tropin , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50873-submit@debbugs.gnu.org id=B50873.16355905659936 (code B ref 50873); Sat, 30 Oct 2021 10:43:03 +0000 Received: (at 50873) by debbugs.gnu.org; 30 Oct 2021 10:42:45 +0000 Received: from localhost ([127.0.0.1]:56724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgloy-0002a5-V5 for submit@debbugs.gnu.org; Sat, 30 Oct 2021 06:42:45 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:59316 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mglov-0002Z4-Li for 50873@debbugs.gnu.org; Sat, 30 Oct 2021 06:42:41 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1635590556; bh=tuaDtfAB9naSyhgcuSqdF0v9pM8cfJbY+1323HVgeoc=; h=From:To:Subject:In-Reply-To:References:Date; b=fHR4m6ZKCgaRmqwag5kt1PWc7IcDeyG06BFtmMAWLRjHMLqkevupbGd8QT4CzGUEN lpq1JXvC9+VJr5/TZNxrGRHy2XFA2nGpBR3uyRAaobBm19gAm3bWQXc6yWFX3vseJs RO3q9qwUOT/bG7YCq5ISxH/7V3qlGXtqoN4HOS94= In-Reply-To: References: Message-Id: Date: Sat, 30 Oct 2021 12:42:35 +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=1635590606; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=hm4u8OEQpElXNERUEqDTSTvSfTgcOpK9WI/H9o7dHhs=; b=jcNnwjezYg2LlGnkdyvYW5c+2dep1OxAUx3i35+u4gnjx/1p3RgIJcNLUedftcfGkXgCP3 NxcW8O3/kguYCLRVEbWO7DOAyxOXBrS9hCJKVm47vr+ucwqOg0tYvshJ7zQ2f/Hf3WE8ew SGfenpbwFjkDa3olJ5O2bIQHu25QLCt1YXJfhkUJ1X0a1m7CVuoq3GUfD2pM/hqVEA174V syAzpNTiI6cnBGlY5/ntevkvu0iLX2O4BeSH5lJQgZdVZaxTRQXvtQYP26q1Yjz9xkjk/i XYoN1m5u1zUeF/Tybsb7Md1HGbJfazM0b9hejPy+aSzCzuSAeK0gaIDGd+fuvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635590606; a=rsa-sha256; cv=none; b=KkN2vpkycnFeIpds9aPZzZLBy5tUIpC60b5fJ3bBWTzJFQXoS6/b+fTUNdmzA2MhkiyanI 8qBP0ztN7Wip3aDb9XPZKNYeB/qbjtmMuJTGsaa1DhaySfJZ+3dO99ibnh2Q9ZV94aAfg9 YgJaJc3gPcvB7WcjpxkQjJbGiOAYzS+BXxIPj6sO6elaGbHmPcV/QC7wsz5QtHzUm4SWBl R44g3ZLL3iO+Jmn6KX+pWGfU+xhotvu79KTG3XOkhchaii2Eqaue+jZGy0mMFCu6bMU7ZQ +LVENAtDBw2wr+E5Td2kdXdZi5SGPYWklSJiVIXsujxptaYPAeuw/uyA9pLu7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=fHR4m6ZK; 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.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=fHR4m6ZK; 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: 26701358BF X-Spam-Score: 1.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: oAnA7gFW5Wpw =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 | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/guix/scripts/home/import.scm b/guix/scripts/home/import.scm index f20088aa88..0e7c454f45 100644 --- a/guix/scripts/home/import.scm +++ b/guix/scripts/home/import.scm @@ -47,24 +47,19 @@ (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)))) '()))) (guix gexp) (gnu home services shells)))) =20 - - (define %files+configurations-alist `((".bashrc" . ,generate-bash-configuration+modules) (".bash_profile" . ,generate-bash-configuration+modules) --=20 2.33.0