From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 7AKvORZgw2OwHgAAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 03:08:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qBjFOBZgw2MlBwEA9RJhRA (envelope-from ) for ; Sun, 15 Jan 2023 03:08:22 +0100 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 777E51DDCA for ; Sun, 15 Jan 2023 03:08:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGsRI-0007Mx-0C; Sat, 14 Jan 2023 21:08:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGsRG-0007Mn-HV for guix-patches@gnu.org; Sat, 14 Jan 2023 21:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGsRG-0008Pv-3a for guix-patches@gnu.org; Sat, 14 Jan 2023 21:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGsRF-0000O5-Ss for guix-patches@gnu.org; Sat, 14 Jan 2023 21:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60753] issue with file-like init file References: <87edrzzw9w.fsf@daviwil.com> In-Reply-To: <87edrzzw9w.fsf@daviwil.com> Resent-From: benoit@benoitj.ca Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 02:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60753@debbugs.gnu.org Received: via spool by 60753-submit@debbugs.gnu.org id=B60753.16737484641465 (code B ref 60753); Sun, 15 Jan 2023 02:08:01 +0000 Received: (at 60753) by debbugs.gnu.org; 15 Jan 2023 02:07:44 +0000 Received: from localhost ([127.0.0.1]:55863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGsQy-0000NY-0r for submit@debbugs.gnu.org; Sat, 14 Jan 2023 21:07:44 -0500 Received: from mail-108-mta195.mxroute.com ([136.175.108.195]:35231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGsQu-0000NI-Qz for 60753@debbugs.gnu.org; Sat, 14 Jan 2023 21:07:42 -0500 Received: from mail-111-mta2.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta195.mxroute.com (ZoneMTA) with ESMTPSA id 185b32e9bfe000011e.001 for <60753@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sun, 15 Jan 2023 02:07:34 +0000 X-Zone-Loop: 6b085d7249e7cab9e115bf185893d8ebaf44e2e91942 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=benoitj.ca; s=x; h=Content-Transfer-Encoding:Content-Type:Message-ID:Subject:To:From:Date :MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=zsX4xJJz+jwDnFc++M9g58KOmN94BV/nbYXCtpqV7c4=; b=S htoIA0eWK3v/AQvSf4LFZppOpjieja7Wkybyjp7TGHg5Mvpvw/aGLGc5K1tdQ3PV8Z8JGpt4EhRak W5Adj2hKtCE2v4J4fCJj69RtZ3prWuVfTSecXCv/t1O55IoCwCgYDu1o816T2Hkk6+q/94fj1N19P CTAy1oCDGMsRonvdyV24/P6xQzc+exmqs00w5QxYTfVnDQXMMYYpIP2SWr5JKsvxJwgzeWnMkkJML Txd5LjEeGpKIDSHtCG9WIQQIZ62MQ+pozDrORpn2ahDIK1up0jObNJr88YvoWBeTH4rw7ESBx1xyq buEtg9vXB/Qs/egCBIb2BdKsaPR3JSxpw==; MIME-Version: 1.0 Date: Sat, 14 Jan 2023 21:07:32 -0500 From: benoit@benoitj.ca Message-ID: X-Sender: benoit@benoitj.ca Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Id: benoit@benoitj.ca 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=benoitj.ca header.s=x header.b="S htoIA0"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673748502; a=rsa-sha256; cv=none; b=QwTDRcbIsns5mnXRByPB7bvM68GHh0Y2XrMGEJb4vwghjarkgBurXlxc4O25aDqY8LjZOl ZUj5/+jNM2zjoT4Dzo/cQMsBEYCICQX+Ifax8Rrxb4U3TfV86ZA5J8b8V1WR0psjnf0ybc 33r4TlkvLLtLCRQWuYUcVnPbEdb9ceAy4qKTkLecBq14Yz92MM28lzJjomGgyT9A5y0N57 6HRQuGtk1lzrXnrpEwfiM+W0qpEJQSmZB+bqhfWX2OfyY/I+Vu98lFsdv3HPDc3v5su+KV X5rs9VvU1BG3ygWzl7yiGxWUo6B+6OsE4Pxy7EtsMkJP5xAlw/kwAOIAEZ5/8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673748502; 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=zsX4xJJz+jwDnFc++M9g58KOmN94BV/nbYXCtpqV7c4=; b=lK3EKd+4wgj8JYuAGqfo2D6Bf2mpMKpizoxxu1Qbd4txlonKv8X3s/xR+vJwh44+L7qCXi ENEolxI58IT6vIlyPh1mu8USPfJRduRhVUkh/IWY8Vt1AWohHjzU8IxsQphrf5iriXezgW 8lNVemdG3Ny61/e1KdzcQrHr8b9K9O1mqizBcayoXNVDhQbudKn5eFHdSjCluiDZx9zUwp BdfbpypdN/ueCDBieSrnRSai/2ozQ+4ZN2M5cNNsYzbAOUTup2PB34USIZuoDoMxIfGxkw xxH4EgZ6gWOAvX4rtuZHoz9yYzi6AVTfQ2gS9U6lY7J9htLmpTwq1tkTpZV/8A== X-Migadu-Queue-Id: 777E51DDCA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=benoitj.ca header.s=x header.b="S htoIA0"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -2.12 X-Spam-Score: -2.12 X-TUID: 9ndXCU083GWG Hi David, I think I found the issue. It looks like the mixed-text-file function does not replace file-like object with their content, but instead with their path. if you look at the example in the documentation: https://guix.gnu.org/manual/en/html_node/G_002dExpressions.html you'll see that it's being used to replace the file-like with it's path in an "export" clause. So it totally explain what I see in my generated init file. When compared with home-bash-service-type in shells.scm, it calls "serialize-configuration" on the file-like object. This is found in add-bash-configuration. Hope this helps. thanks! Benoit