From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eFfeGkmoyGGwRAEAgWs5BA (envelope-from ) for ; Sun, 26 Dec 2021 18:37:13 +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 6IqYF0moyGGjpgAAauVa8A (envelope-from ) for ; Sun, 26 Dec 2021 18:37:13 +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 22B023B016 for ; Sun, 26 Dec 2021 18:37:13 +0100 (CET) Received: from localhost ([::1]:42506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1XSK-0003gq-0O for larch@yhetil.org; Sun, 26 Dec 2021 12:37:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1XSA-0003gf-Lf for bug-guix@gnu.org; Sun, 26 Dec 2021 12:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1XSA-0005qV-Bw for bug-guix@gnu.org; Sun, 26 Dec 2021 12:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1XSA-0004aa-90 for bug-guix@gnu.org; Sun, 26 Dec 2021 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52808: Guix home should not assume that all targets are dot files Resent-From: "Nick Zalutskiy" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Dec 2021 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52808@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164054018117577 (code B ref -1); Sun, 26 Dec 2021 17:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2021 17:36:21 +0000 Received: from localhost ([127.0.0.1]:41454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1XRT-0004ZN-Ui for submit@debbugs.gnu.org; Sun, 26 Dec 2021 12:36:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:42176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1X9f-0003zR-9t for submit@debbugs.gnu.org; Sun, 26 Dec 2021 12:17:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1X9f-0000b7-0q for bug-guix@gnu.org; Sun, 26 Dec 2021 12:17:55 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:55705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1X9d-0003yH-2V for bug-guix@gnu.org; Sun, 26 Dec 2021 12:17:54 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0BCD05C00A3 for ; Sun, 26 Dec 2021 12:17:48 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute4.internal (MEProxy); Sun, 26 Dec 2021 12:17:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=const.fun; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=2FJI6N3tXv9rLMVv6rPSgXUdgsy872Hk98N93RXRgG0=; b=jspFbJ5u ACeEdHyBshEmZk7Udsc9U2Mz9hQmQUmAz4QU2eE0p5G7iL0DKefw163Qlj0jV2Kv miVLEXRcwUDKp8vNBNuoILysTOpR/Q4nEztclTaWFFPgpW6SLgfO1l3o/Cv8+c8I ooJ8W/wmvnXb8InozJNgepFKz5VbSEY4P4kALP3U1zT671Cscn4ZsyXes/cCuLjt LcXnxt+SKpyqtOcgcW7b7vRzmNmcbmHepmkA9BIUDLenftWiMYYJG3ww/OQkM74T H1eUu86V2kZjz9ktDjWfcR1dG+NHRDZ4xnk3NhLPb9//zpO165vH4NE4cUJdtyJt 1QuF+LAW/oSYIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=2FJI6N3tXv9rLMVv6rPSgXUdgsy87 2Hk98N93RXRgG0=; b=hoZOKJaNCMjftVaJdHXV5BvzdIQdwnn2pOu8VrVJNTQ7K vqyDCp0DxR/1RWulTyraSiUuB4ufy1Qr23tLcPsFDG3O7MOQX10V/XKvxLTG2dsy Mqzqzb2Z4JfbRUfk927/8atMWwy6AydDRezzwMo00CNeOEXyaIRzvJegi8i5nsv0 fJsUyqlCoNVJ08FqUIweIX9Xu//RsM2+kZkVH6btVGYX0DsfMLMo2j4sfUxcMkqA nD8xHuFD8ak8UaStSOt9xja1ebcr9HQYl86P+nsCApxHiRUnh1UCP0eH5crKgqmy vM2UTByDavbwdRa3rYIvkz8ZAAZ4rF7xpQSchrDgg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddugedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfpfhitghkucgkrghluhhtshhkihihfdcuoehnihgtkhestgho nhhsthdrfhhunheqnecuggftrfgrthhtvghrnhepheehhefgffelgeelkeffuddutdeftd eigeffleetvdegfedvleekueeuffekgfeknecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepnhhitghksegtohhnshhtrdhfuhhn X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6C95EAC03DB; Sun, 26 Dec 2021 12:17:47 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b Mime-Version: 1.0 Message-Id: <6050c325-9ae9-406a-97fe-91bdf9bcd12a@www.fastmail.com> Date: Sun, 26 Dec 2021 12:17:27 -0500 From: "Nick Zalutskiy" Content-Type: multipart/alternative; boundary=081e622674ea40eaa4001c62a82a53c5 Received-SPF: pass client-ip=66.111.4.27; envelope-from=nick@const.fun; helo=out3-smtp.messagingengine.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.001, HTML_MESSAGE=0.001, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 26 Dec 2021 12:36:18 -0500 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=1640540233; 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=2FJI6N3tXv9rLMVv6rPSgXUdgsy872Hk98N93RXRgG0=; b=W7uqYEtwuOes459D10mzcmjVXS5wwCSxjFR90GvOONTLIn3p5a59oslYIYT3nM0UjL3d3B pQXNgNgOUjVl9z+OYN7dyGdlO5Ut4L4UFxVeQ5LSGBIBWhlaUp7eyoG8IBTBeFeJdFVpXB Lz9fYBWOr1AiFgaM0K8z19a6Td8SA5uR6MuMAd5zfq0APED5c3gd1tyQ/kQC1FvQolfOvY B5jed90h8ZfS/5hRsmt0jM4zPCJiNgQ0aJCB3NNHbu6ab7u/NNCDeXCDILvPkkIUyMsSQo oO6lucObL0VPTD5fotUKLENSMNS5Ba4L+bIe0WfPQtj5B8wfNbj2p9z1sdQzng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640540233; a=rsa-sha256; cv=none; b=n+GeCfw1/POPfpsIZItf+BxkH2sbQd2VltdxLtI3MH8Fjs+xePewKcdy9bO4UO7nZD9hTU ek4ngRxyAzHNYPBjbNtHE8g0GfaBngruuKQV2k/5+5Z4vY3ApQAmVuIZ4yxjkKNADzPdwo ab8VWkAJX1znfl80r2uQSv6tftZ8azJvQQPDzMI+Ke4+lkSLyKEqR8MYYCbiIGC0FgsUP8 aBc9l8b4n4W46H4/vYYou7NHpvlgdN5j0W6R9l2dsAQHCKLNX2akjzENWYKGylute+Y5S1 iP9lTEh9RDccGwV0iCV+dB2HoAtHiyPLxrVlnOrXXrr1jnoIVxrmOTGIJXbFXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=const.fun header.s=fm1 header.b=jspFbJ5u; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=hoZOKJaN; dmarc=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: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=const.fun header.s=fm1 header.b=jspFbJ5u; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=hoZOKJaN; dmarc=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: 22B023B016 X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: S0Cknm7+AY0F --081e622674ea40eaa4001c62a82a53c5 Content-Type: text/plain The following configuration results in a `~/.run` symlink being created. My expectation is that a `~/run` symlink is created instead. (ie. not a dotfile) > (home-environment > (services > (list (service > home-bash-service-type > (home-bash-configuration > (guix-defaults? #t))) > (simple-service 'my-files > home-files-service-type > `(("run" ,(local-file "run"))))))) This applies to all other targets. My expectation is that the configuration should expect the exact target and not make an assumption that all targets are hidden files, since that allows for more utility: > (home-environment > (services > (list (service > home-bash-service-type > (home-bash-configuration > (guix-defaults? #t))) > (simple-service 'config-files > home-files-service-type > `(("run" ,(local-file "run")) > ("README.txt" ,(local-file "README.txt")) > (".config/guix/channels.scm" ,(local-file "config/guix > (".emacs.d/init.el" ,(local-file "emacs.d/init.el")) > (".vimrc" ,(local-file "vimrc")) > (".gitconfig" ,(local-file "gitconfig"))))))) Thank you, -Nick --081e622674ea40eaa4001c62a82a53c5 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
The follow= ing configuration results in a `~/.run` symlink being created. My expect= ation is that a `~/run` symlink is created instead. (ie. not a dotfile)<= br>

(home-environment=
  (services
    (list (= service
        &n= bsp;   home-bash-service-type
   =          (home-bash-configuratio= n
          (= guix-defaults? #t)))
      (simpl= e-service 'my-files
      &n= bsp;       home-files-service-type
           = ;   `(("run" ,(local-file "run")))))))
<= div>
This applies to all other targets. My expectation is = that the configuration should expect the exact target and not make an as= sumption that all targets are hidden files, since that allows for more u= tility:

(home-en= vironment
  (services
   = ; (list (service
       = ;     home-bash-service-type
 &nb= sp;          (home-bash-con= figuration
        = ;      (guix-defaults? #t)))
&nbs= p;         (simple-service 'conf= ig-files
        &= nbsp;     home-files-service-type
&nbs= p;           &nbs= p; `(("run" ,(local-file "run"))
    &= nbsp;           ("READ= ME.txt" ,(local-file "README.txt"))
   &nbs= p;            (".= config/guix/channels.scm" ,(local-file "config/guix
 =             =    (".emacs.d/init.el" ,(local-file "emacs.d/init.el"))
          &nbs= p;     (".vimrc" ,(local-file "vimrc"))
           &nbs= p;    (".gitconfig" ,(local-file "gitconfig")))))))

Thank you,

=
-Nick
<= div>
--081e622674ea40eaa4001c62a82a53c5--