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 ms0.migadu.com with LMTPS id iEpTAtfOCmLJ4QAAgWs5BA (envelope-from ) for ; Mon, 14 Feb 2022 22:51:19 +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 CBldO9bOCmK0bQAA9RJhRA (envelope-from ) for ; Mon, 14 Feb 2022 22:51:18 +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 BBFF63E59F for ; Mon, 14 Feb 2022 22:51:17 +0100 (CET) Received: from localhost ([::1]:54750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJjFc-0006h8-Ub for larch@yhetil.org; Mon, 14 Feb 2022 16:51:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJjFO-0006gG-AL for bug-guix@gnu.org; Mon, 14 Feb 2022 16:51:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJjFN-0002CO-Vl for bug-guix@gnu.org; Mon, 14 Feb 2022 16:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJjFN-0007a8-OF for bug-guix@gnu.org; Mon, 14 Feb 2022 16:51:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54003: local-file after Guile update Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Feb 2022 21:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54003 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54003@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164487542829101 (code B ref -1); Mon, 14 Feb 2022 21:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2022 21:50:28 +0000 Received: from localhost ([127.0.0.1]:42834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJjEq-0007ZJ-CG for submit@debbugs.gnu.org; Mon, 14 Feb 2022 16:50:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJjEm-0007Z8-IA for submit@debbugs.gnu.org; Mon, 14 Feb 2022 16:50:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJjEk-0006M5-1h for bug-guix@gnu.org; Mon, 14 Feb 2022 16:50:24 -0500 Received: from mout02.posteo.de ([185.67.36.66]:48117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJjEf-000288-8U for bug-guix@gnu.org; Mon, 14 Feb 2022 16:50:20 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6397D240103 for ; Mon, 14 Feb 2022 22:50:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1644875411; bh=BmBG+S66FYgSU5OJhjgImKTgTP7OhQsPQjy1w6gEbHg=; h=From:To:Subject:Date:From; b=UaLUmPWIcPaire5PNYK0mqjEyTlis/giSmlBoRojST6hlxG1VDkaFQvP9j/CG8L1v d2dexkctSHfLC8PGfHuQVlYMC1jBZKJwpo15tI6RLezalKpiJNMmCuaxh+PYILBpkF g4QDadN+QPAUpw6ZqD2pNaRn8LpZoly+rfCIXoEOdzdA9PrIi8sC3I/YrJCWVcx1ID DGQ3YCPpaEbTDFQ8t82iW8aefAw9PYNtdPEP6zlQQ7zTRIw5dEpiB+f+xhJDgujCj7 KfvOYGWwGrGGqTJ9Hlqf/prpjxllVlIyj7z7y7/mvoQgKs9cYdbkrGKlvbrfjjl53B nJyV18NNC9WXQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JyHvQ0Dzcz9rxD for ; Mon, 14 Feb 2022 22:50:09 +0100 (CET) From: Aleksandr Vityazev Date: Mon, 14 Feb 2022 21:50:08 +0000 Message-ID: <87zgmtqfsf.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=avityazev@posteo.org; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644875478; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=PFePXDuytR18ghLpeJoOoN5eLT17xSTNC0W/aqrS4F4=; b=ALl+bC5iUnzZSFy6scavYYn/xjcZ7XzpTryVLMpuBVCmO1pWqmrwcyrInjtEPgCTXEp9Ly kJ087PZQlE/pSFO+s3KmPW7uTLClrur8hahBqXH4Gb+iGDfXxHL4bFLBjGNJlTHauxurO0 0bbDi7ajMqwxstZwcSM6GwCBCKsxxIfv3WJvDF8jK6qz6EFfxnOujLplMD1Wow+L4d2SJo krJi9B/TKgk6/VgQCnBjoovfxH5f7UIWkA2qlc4c95pre4NTzdhRbehnIl/wI228vg1qUZ x9WWrxED/edpJsAAjf6s9D6WhIoh+QN5o5DJh46H9PmkHQuSD8xFdHwcviFEvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644875478; a=rsa-sha256; cv=none; b=PI4t0BcZm/dM1T6hvF+bIdlknPOzj4JAo51mneef8IYkIM2vJOg6vCLmOJW02gKPqrpoEN EN/lJ2rDQtPP4XOhSK4tS4qJOdYjkpWingBsTTxW6wxYnxMiZLOjGKWxMGXnuwd4+SE22M X3WlakjWoTMo2njMFz/20fXIkhkmpTKAJlJS3yoEqSiAt+Hiwset+3/o6Oo+dlfoRiuggJ 0xnZg7BWshoZmU4AHY2WdHEM+r/WRbXFdDFXVsv+2Wm8MgPa3XM2qX1KNLbwIT0L5O+uG9 +pVdSxB6aleNEtGYGfz/lhjabzFZQier7kTzsi6cSQBXKZcw4YPzCS9KfXUOjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=UaLUmPWI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=UaLUmPWI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BBFF63E59F X-Spam-Score: -4.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: LuJjs1nso1SU Hi, I have the following dotfiles directory structure where I store my Guix home config: |-etc | |-subdir | | | |-home I often use the 'local-file' procedure in modules in the home directory. For example in /subdir/home/shells.scm: #+begin_src scheme :scheme guile :season guile (simple-service 'add-zsh-files home-files-service-type `(("config/zsh/zshrc" ,(local-file "../../etc/zsh/zshrc")))) #+end_src And it works, as expected. The following example also worked before the 076e825dc5d585943ce820a279fffe4af09757fb (gnu: guile: Add version 3.0.8 as 'guile-3.0-latest') commit. in /subdir/home/wm.scm: #+begin_src scheme :scheme guile :season guile (service home-rofi-service-type (home-rofi-configuration (config-rasi `(,#~(format #f "@theme \"~a\"" #$(local-file "../../etc/rofi/nord.rasi")))))) #+end_src After 076e825dc5d585943ce820a279fffe4af09757fb using (local-file "../../etc/rofi/nord.rasi") and not (local-file "etc/rofi/nord.rasi") causes an error: guix home: error: canonicalize-path: No such file or directory: "../../etc/rofi/nord.rasi". The example that causes the error uses the original Guix home implementation, which uses gexps. When I figure out how to make a minimal reproducer that does not depend on it, I will update this report. -- Best regards, Aleksandr Vityazev