From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YG2xIWZ23GF7sAAAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 19:09:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gPc8HmZ23GFsOgAAauVa8A (envelope-from ) for ; Mon, 10 Jan 2022 19:09:42 +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 E97A1285F3 for ; Mon, 10 Jan 2022 19:09:41 +0100 (CET) Received: from localhost ([::1]:51464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6z6z-0004zD-2n for larch@yhetil.org; Mon, 10 Jan 2022 13:09:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6z22-0006W9-Sn for help-guix@gnu.org; Mon, 10 Jan 2022 13:04:37 -0500 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6z20-0007qT-KL for help-guix@gnu.org; Mon, 10 Jan 2022 13:04:34 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1641837864; cv=none; d=zohomail.com; s=zohoarc; b=nT4zqRxKpxQOrX9/wwF0IdP8RHMAyYZL4yi1cIZCzMgUcbxOGz0kRya0u4o6w8Lmq061eaLS7IdLNnTr67NFUiGlk3XiYT3yeQd3fPuUgqfPjwWk7+/CSUzZBEiTHphTGyKO8tCqYfvixPe5qtE8zUeMVgu9Cl8FS1IG3tHnkJk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641837864; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=3GyTuBdGuUmUfmcGOt+1/rmWrUA04oCq+s06iSglc4Y=; b=h83CmT5FW6/W/l7VyRrqMKaT7QxU0R/CbAqPgjQuIiZxwGkXzKAR0ynDr9h3p3PliwMdHacGFEG6+/zlJL8dL89kEMZL7Jm+5/Ass/Ir8XGw6j6uUvcKzSE1/4fv3ABWvqXNIDY9UzH+3Oq0lQECtNvwTCWN5g1wywj1k+IZ3iw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641837864; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=3GyTuBdGuUmUfmcGOt+1/rmWrUA04oCq+s06iSglc4Y=; b=AOYX6PLE+4sq+qqCQzO9qnDZ79txaJ/k2rlew6IbthTLxENRKC/15OdeddOA9zwV QNvzHd3dcCfOZ848k7ln7F/oozZMWhEn3kKTUIW+lMWvKRGK/WkFWwFk3b3DVBthMy6 9RDJPmllGLUAH8ERTh2Bs991f6K3Pc2iNvhnto/4= Received: from schwarzy (lfbn-idf3-1-439-245.w83-114.abo.wanadoo.fr [83.114.32.245]) by mx.zohomail.com with SMTPS id 1641837862525442.15970672362164; Mon, 10 Jan 2022 10:04:22 -0800 (PST) User-agent: mu4e 1.6.10; emacs 27.2 From: edk@beaver-labs.com To: help-guix@gnu.org Subject: I think thunked fields are breaking my previously working code Date: Mon, 10 Jan 2022 18:55:02 +0100 Message-ID: <87y23nfozl.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641838182; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3GyTuBdGuUmUfmcGOt+1/rmWrUA04oCq+s06iSglc4Y=; b=WbjM4iqIh5vN4/GfMm27EapCQ32v7ZQqtLsu/baGNztVwoJw8hPK31mWzJC2o9hmvgoSci 8ABThNfwWdCxsJ8QrD0c0Vcr0jITcb1/RfwYt/UwMPfh2HRFb0S1fqw40SvRvgewNe7HPQ vuGHC5teIA00e0AG8aGv2cvKuF2RL0voImbMAwoE3t27h9NFr+Imh/JnaM2XLpj4gKh7Tu GTorEP+SAjwCdDAUMWe8bh2TGPIAm72UDChiQQDSEpkh6pNOtpqGEDu8D2AHWfT4Uv1wr7 kq3dWyCEEkRetKB3F7O1VFoIZd1x8JMnoZ80ao6n9gJ/zA0W9nf5EN4TqEOW0w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641838182; a=rsa-sha256; cv=pass; b=cpogMbu8KJ9tCe10Jrw1t7bcXfQU+jmcP2uUzmW2RqQV3r0jzNGBM6YtAfHeQzWpm/n8lD PrxidiWNqCxGOOvrewrOvCYhCvMHhnvv66TRudo/nyvQ2Aa/spDIb4t19J6J9KoZxPHYg6 btRn1WeSZ2Zs7MiEhtSY09LkfMGUg//h0pBqWCRImtbOuSgDo1XhIxaFxk+3yxkFcm1eMN 4AITZhBii+HZhpYnRtyiyzgNaKxZum48Lmk/cHCd0XlMgASQ8q+Jihtq0sXnWvjL760oZu Qb9Wf2F7ZtJLV/cCyUd+yLkfZJ05AVSn1HDsKsNxLQK1dKgFm3DWW1Ck6FilBQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=beaver-labs.com header.s=zoho header.b=AOYX6PLE; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.11 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=beaver-labs.com header.s=zoho header.b=AOYX6PLE; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E97A1285F3 X-Spam-Score: -6.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zx1aLh6JSiPk Dear Guixers This is a follow-up on https://lists.gnu.org/archive/html/help-guix/2022-01/msg00000.html Using the REPL, I traced the bug on my code trying to update fields of an operating-system records, which on gnu/system.scm are declared as "thunked". Guile is not my primary language. I would really appreciate some pointers here: - Why is it that I can't update those fields ? - I was able to ~1 month ago, but can't do that now. Why ? Is my use-case unsupported ? Should I expect other breaking change in the future ? i.e. was I using a non-public interface ? - How can I update those fields ? For example, given that "minimal-container" is an operating system, I can do the following: (set-fields minimal-container ((operating-system-host-name) "toto")) But not: (set-fields minimal-container ((operating-system-label) "toto")) while both fields are supposed to be strings, but label is "thunked". Thanks in advance for any help. Cheers, Edouard.