From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0O5pMVIZyGYbGQAAe85BDQ:P1 (envelope-from ) for ; Fri, 23 Aug 2024 05:08:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0O5pMVIZyGYbGQAAe85BDQ (envelope-from ) for ; Fri, 23 Aug 2024 07:08:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="ZH0x/5rK"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724389714; 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=/Wkj+SurPm1QLAfBjII/ixGqGQUm3zIRM5V99okhXrw=; b=cG4axnT6qwBA8LSr7UwRj22e1Y2Iy+tMmLf3E8+VjQBCCq7bhiCNX14Xb3soaDFI9Nb/em Oi9ea/D96A3LSu7ZfkSbP2jjk2UxK5xTwoMyBmEMk9CTylz1qaTKmuez61Hdohsh/8im9V wQbhWWaP+KMKF/Q1cUF/zYa/OkH9eQyeDjHDndWQef/JwuF2Df+Ah/S9ZlFlCvurWnDZIc Dtt1nye0HzRZgNXIQIQW8ZfquXCCYDbmiMZZ1h3ixej3eI0AaSJOwrOsa8R+QwbaRfPmS0 u0XeZ6meuCuiRc+Yl9CmbLxZwud886R5P9g0/PrUoJWRj0HRNxhyiKER6guWyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="ZH0x/5rK"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724389714; a=rsa-sha256; cv=none; b=damBjSASk58NYvYBfZ/K5gM8DpZ+sefWaM1KVeLFZsbWkvFNY35AFu6vXbd9JSZktX22nu EXwY06d6MIAEIKOoDpMqSSjcv106SbGPBpfscbZEekZe7nC355qdeDV0Huge8UNrLgbPay AhYslvOX3iDI7CWIu6NC/DTe8ajMlbOcsbftAdqrQePo0d5tQmow1jQPbVPOBgjZI7iH66 kSMBmp9CigIkNi96mugACQWIoNx+1aIW2TUlRlK1C5vl/ojbw01z5NuLnW1Ir7QGM9f08s h2bw0EhLfTREz4ODvzQsWF5Q0Ws84pm5W2ENuh1MQwXsU+SRn8x0VoQ0Oh5KZg== 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 93CFCCCE3 for ; Fri, 23 Aug 2024 07:08:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shMWi-0004Em-Vn; Fri, 23 Aug 2024 01:07:57 -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 1shMWh-00048g-DM for guix-devel@gnu.org; Fri, 23 Aug 2024 01:07:55 -0400 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shMWf-0001OJ-U5 for guix-devel@gnu.org; Fri, 23 Aug 2024 01:07:55 -0400 Received: by mail-qt1-x842.google.com with SMTP id d75a77b69052e-44fe9cf83c7so8757321cf.0 for ; Thu, 22 Aug 2024 22:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724389673; x=1724994473; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/Wkj+SurPm1QLAfBjII/ixGqGQUm3zIRM5V99okhXrw=; b=ZH0x/5rKMG/wXbae+vqYd2vcsatonCvO0FQwHh+DBeROcg1fJ3+8zRTdN4+z3FADsm hXXpDqpIN6bfPnWvQ3B1XhaRyLF04acVPUnck8XHCVE5gKGPzwdHdesmUGmYm3JkEgxy zO+C78Jq+L9uxfjvuj4KOjj3EjUu0U2c6NfzpVUoYh9aIG2f/dcSK3KEcswpr++iTAC0 bTzTxYOtkUPupjl6BO+CEUICAngvWPsvR8A9FEk7F3uPHnz5aPZz1wdbiEkcoOpcMUMg +svssnCGwYatWoxLLXKuiSip6M7cjN2qdHKtfOlBo1A/TVlxHfGWECPwj4oSvL48szSH 0E2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724389673; x=1724994473; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/Wkj+SurPm1QLAfBjII/ixGqGQUm3zIRM5V99okhXrw=; b=UTN5ysZbbEMH4s7+0Mnejp4gj8shArqbdhPaWkzkjyqmzGxcddse3ezBBtwG3bom0g VjqCRBPORuTcEaeyzlKjb7axKSTrmibEdjNbBNDXBmwbXWtzEBvcCvQXlKWs+LTb16Pq CFL67V4oPn6loEjIfmboRZIlXDLIbwMrq/VPo22pwIY+5SkHhbWNFC+kN2UnOXc5PFHi 8LM+ZpxVSGbnwsHm5Q7TDwVC1dn2uIm8+dmk82oHa6gwsb3JzARKjkv8J7Z0qPx8LJ9X hbf8zHlz9rKWWue5TPtWTnGgtTmz7sbemKGgfOu9nF5lAjn+KrwrKgD2JPR50BQ3INPw TPaA== X-Forwarded-Encrypted: i=1; AJvYcCWxSUD8CTe/Vo9Oe2pdCkA3eczM74kB1LUeu21QKJRqQIQ2iKGfdr7nVvuh0gdd8DYnhRp0/0+x/GYE@gnu.org X-Gm-Message-State: AOJu0Yw4XDoVJGmcsHvyJn0RyUlyjTXZ3ahjrvXMsWvvwnTwPFtAHsKA r7+9VvkSnqetRPc6xXvDPKRHmf0qOn+X6683hl+eaLQYO7JF/mpZDJCGxEeV X-Google-Smtp-Source: AGHT+IF6JirRnpplVVVScNZtDF4zUTiuSZZC6XDmH98iOwD+63V/CZd0IDMxkwDRV7CA+GvgJpCafg== X-Received: by 2002:a05:622a:488e:b0:450:349:115e with SMTP id d75a77b69052e-45509d04054mr14309111cf.61.1724389672568; Thu, 22 Aug 2024 22:07:52 -0700 (PDT) Received: from [127.0.0.1] ([188.244.179.251]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-454fe1b78dbsm13549971cf.92.2024.08.22.22.07.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Aug 2024 22:07:52 -0700 (PDT) Message-ID: <5224b08c-90bb-4822-a89f-f6cf1bf8a6a9@gmail.com> Date: Fri, 23 Aug 2024 10:07:49 +0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cookbook recipe from "The Repository as a Channel" section does not work for Guix with properly configured GUILE_LOAD_PATH To: "pelzflorian (Florian Pelz)" Cc: Attila Lendvai , guix-devel@gnu.org 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> <87bk1np2a5.fsf@pelzflorian.de> <87bk1l88sx.fsf@pelzflorian.de> <26f24821-13e6-4afe-82a4-57cf60bf2064@gmail.com> <87cym0czto.fsf@pelzflorian.de> Content-Language: en-US From: Nigko Yerden In-Reply-To: <87cym0czto.fsf@pelzflorian.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::842; envelope-from=nigko.yerden@gmail.com; helo=mail-qt1-x842.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.78 X-Migadu-Queue-Id: 93CFCCCE3 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.78 X-TUID: SU1+uWOI/tBK pelzflorian (Florian Pelz) wrote: > But then again, the current current-source-directory > already does follow symlinks in nearly all cases, even in configuration > files Don't see it neither in the code nor in our examples. 'syntax-source' doesn't do this. The second branch of 'if' in 'absolute-dirname' bringing in 'canonicalize-path' is never executed in the examples (remember, the original patch didn't work because of this). > but actually I do not know why `local-file', when > calling `absolute-dirname', takes this case of `if'. Only the first branch of 'if' is executed in all practical cases I can imagine. > Documenting this work-around is not enough; we would have to also > document the rationale that local-file is weird and inconsistent, Why do you think we should do this in this section of cookbook? Isn't it a separate topic? > because current-source-directory is weird and inconsistent It isn't. It simply does not follow symlinks by design. > Why does current-source-directory use syntax-source? What can it use instead? Related syntaxes such as 'current-source-location' and 'current-filename' are all using 'syntax-source' under the hood. Regards, Nigko