From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IINBDHbJxGaenwAA62LTzQ:P1 (envelope-from ) for ; Tue, 20 Aug 2024 16:51:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IINBDHbJxGaenwAA62LTzQ (envelope-from ) for ; Tue, 20 Aug 2024 18:51:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pelzflorian.de header.s=key2 header.b=eGEYynHf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724172662; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RZJhkeB4GuQwgU/wM2+ZR+oZIAe1/GlSO9qEKaOCM4E=; b=fS5wiOLTivWaIL0Q4qP3GUKIOUGKZTTSKh3I7lqVV9XfUHQvxNcxmwEuF27TO2ySMmiL/0 rNa5Ak2KtkIg5+CSq+LYo9iWRzrWOdaq7BX3VBkZJ+FA/dnrRlxymS5MO5s15VfVTxdFTi gcAZuKGcB4ufAo4CRVL3B7WBhPAhNsKk4YZ/cJyu2c8yd5LYjzSv3QWG8gyyWwb8J+VT3B gYRYL/YZRGyCuZ0UY4900Dnh1Do935ZM1dbqkny2c4uiBarYLWFFso4OnDtBuOI2A1zoQl YyQ7FUOGwtmPUpeE0f05uPA1LNWy1/VT5YqblqyXf7jP4qem4t6RbYgyLLyBFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724172662; a=rsa-sha256; cv=none; b=lECiq/ARnEp1wwc1wt0q2XCvLiWNiY8YjznnYhRw61+MxoJJCfTbxv2g15Qj4xX70q2etY HoNDUTYL3liEgebB2ys1cnhiMiwUgrMocSL4pQm2XMf5JfA7tME/ZHLyo4SPajiwnDBfPA yISMI+r3fk6SoZu/gc88zV+XapkMr92TP6dT4iU31QMyx8T+YGdIQ2ZG2z2QUVVLI2RtRM GXbXU2U8o6oTEcCWNa30WqWufrgWAc6E5i+n1XAaoVodvDp0NfzzDYizY7f6zTJYDnDz3Y qjA7+JlALoeWFvc38QxtpdQ2bf8rypMpb+AozTBTGLIBpcVy75FdhxNHE5joAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pelzflorian.de header.s=key2 header.b=eGEYynHf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" 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 089AC33B1C for ; Tue, 20 Aug 2024 18:51:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgS3m-00056p-5S; Tue, 20 Aug 2024 12:50:18 -0400 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 1sgS3i-00056Z-R1 for guix-devel@gnu.org; Tue, 20 Aug 2024 12:50:15 -0400 Received: from relay.yourmailgateway.de ([46.38.247.119]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgS3c-0005Ks-E9 for guix-devel@gnu.org; Tue, 20 Aug 2024 12:50:12 -0400 Received: from mors-relay-8404.netcup.net (localhost [127.0.0.1]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4WpFnQ68Bxz81nn; Tue, 20 Aug 2024 18:50:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1724172602; bh=ud3VL9VjqVKkwowE1la3JZrLJ1r4Gqk8sj007TXJPe4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=eGEYynHfSaftGWkT1KlkLRuQtA45H7vVXnKwWpqh/EZ8aTZjN5wBBmyE8yVTqkNYA fcgborYgD3SSKOOYnXANcdHaWM8cTGOV8oVT4+Hj6npTsKfaR3o5C4XhuC3gp+uAlK Gov8T/sakEQ7q/SzevL8gX1JhTGbexWwO7OzufbAIgw/fpU0Y21XEG6Oysq3CVSURG 6cj++f5z6tqk586NUo0SEggRTKvvssK/VvYacA4G2SZBC7l57PZMywS6/LvHCIy8yl fLZSzlNqOr9/Pn1XA4Zx8tp5ZYl/IqM8M3zbtvvgB25PxLjo9cgs2OWCcrAXdaO8Gg LVru4p/Av663A== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4WpFnQ5Xr3z4xCj; Tue, 20 Aug 2024 18:50:02 +0200 (CEST) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4WpFnQ2M68z8sZh; Tue, 20 Aug 2024 18:50:02 +0200 (CEST) Received: from florianhp (ipb2186896.dynamic.kabel-deutschland.de [178.24.104.150]) by mxe217.netcup.net (Postfix) with ESMTPSA id 102AA8412A; Tue, 20 Aug 2024 18:49:55 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Nigko Yerden Cc: Attila Lendvai , guix-devel@gnu.org Subject: Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH In-Reply-To: <07bd739e-2444-46e3-beda-ff853b34f2cd@gmail.com> (Nigko Yerden's message of "Tue, 20 Aug 2024 12:18:13 +0500") References: <63d4684d-7e8e-437b-91f5-ce20607ab882@gmail.com> <87ed6sebdp.fsf@pelzflorian.de> <4d2eb8d0-1bed-429d-a99e-a1ea182dec1c@gmail.com> <87ttfotjw1.fsf@pelzflorian.de> <87cymbyv57.fsf@pelzflorian.de> <87y14yq4wm.fsf@pelzflorian.de> <6fe218cd-2995-4d46-ba5f-3e262b730faf@gmail.com> <87sev1qzxm.fsf@pelzflorian.de> <8e565865-b601-46df-a4ce-2635f24151ff@gmail.com> <87ttfgwbvk.fsf@pelzflorian.de> <07bd739e-2444-46e3-beda-ff853b34f2cd@gmail.com> Date: Tue, 20 Aug 2024 18:49:54 +0200 Message-ID: <87bk1np2a5.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 102AA8412A X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: vPvdYmuRppWL94aroy+gQQwwCzyZgw0Uc5X6p2P56CrnrjmTKjWnuXEZ Received-SPF: pass client-ip=46.38.247.119; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 089AC33B1C X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.50 X-Spam-Score: -9.50 X-TUID: RlHMHfQ1r+bK Hello Nigko. Your demonstration makes the guile channel work and is valuable already, but we disagree which path to take now. current-source-directory looks as if it were written without consideration of symlinks; it resolves some and not others and none of this is documented or tested. My preferred option would be to fix it; I doubt peoples=E2=80=99 configuration or channels rely on not resolving syml= inks. A bad option is to make `local-file' use some new `current-source-directory-always-resolving-symlinks'. Another bad option, to avoid any iota of ABI break in main guix, is to change the guile repo, change the guix-cookbook, change the blog entry from which the guix-cookbook section is derived. To add a note along the lines of =E2=80=9Ccurrent-source-directory is a mess when using symlink= s, local-file uses it, so please use no local-file and use current-module instead.=E2=80=9D I=E2=80=99m not involved with guix core, but IMO it would be wrong. Rather please send your `absolute-dirname' work to guix-patches, which the core team would look at and have an opinion on. Preferrably simplifying `absolute-dirname' to not check (string-prefix? "/" file). Regards, Florian