From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UDi6Eiw6w2VcMwAAqHPOHw:P1 (envelope-from ) for ; Wed, 07 Feb 2024 09:07:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UDi6Eiw6w2VcMwAAqHPOHw (envelope-from ) for ; Wed, 07 Feb 2024 09:07:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cl8yVYT6; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707293228; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QsojFwBrXY9rNcmZSSYY1fbJ90/7EHeBr5vQxjw9vQA=; b=GCU2jViGkdnSYEoSd3lF04O3qmATZo+W47RNL74FLKVDrzaKgIaqpkDJYLqhfUn9I/IoUB fqPvWKJy47LmNjXOeVRLlQab6QZAx8IuyfextHP2lzwALN0E4y1sFGnQ+B03u1yXTySATg cPF1TO0sBM6di8m35XcNHU6ZMn0DjkEDHk13o2lO25+iix1vw7EZwj/ybx27ejMP2mWliV Ldfn4X7+99GKzLmEJc5yIyOcOmx7/amdKMEplrK+mt4y/YkOJoidID2gEmxh/Gv5gHcRhC X2eelWX96Xx7pbTTpcmCVvU+qcjmV+bnDP+Qdzg2i3PYwy71sTPFV4D622ilMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cl8yVYT6; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707293228; a=rsa-sha256; cv=none; b=L+t+vz6Ia+oRZgjyRamtoO2WDQ2c9oUXKu1eUU02c6Gu4w/r5DQUZoZLN8RgV5hpyBr9vS 5Jq1Myy89r+TmVVCI4O9yVlLUpE6NbtIwx8KRYSQdzoDLq9AusSEwsnf0/nUCpnQeKGnkx aJP1aPUQrrqUnEM6U8YuBf8UlcBjNRl9Fj05MaLjdv+Ra+RaJNcn6l/huMY8jwgQcWnZV2 ObvLrMf3NgOhOS1V+IoOtcElxuQRISroSGErGogUCEtcbmjCkN8bQwMDqMQcyHI9RJDV8v 8paDIKRXtGZzrdcMmp7NVFImp60yZB2uLvlsu8JoOYNdOTcPozWPLNrwf/OJHg== 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 0C6B73978F for ; Wed, 7 Feb 2024 09:07:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXcxF-0003AW-Jc; Wed, 07 Feb 2024 03:06:49 -0500 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 1rXcxE-0003AM-Eg for guix-patches@gnu.org; Wed, 07 Feb 2024 03:06:48 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXcxE-0003jm-6e for guix-patches@gnu.org; Wed, 07 Feb 2024 03:06:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXcxR-0008CF-PW for guix-patches@gnu.org; Wed, 07 Feb 2024 03:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68857] [PATCH] gnu: home: dotfiles: Avoid creating extra directory in $HOME. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Feb 2024 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68857 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: paul Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Sergey Trofimov , 68857@debbugs.gnu.org, andrew@trop.in Received: via spool by 68857-submit@debbugs.gnu.org id=B68857.170729316731439 (code B ref 68857); Wed, 07 Feb 2024 08:07:01 +0000 Received: (at 68857) by debbugs.gnu.org; 7 Feb 2024 08:06:07 +0000 Received: from localhost ([127.0.0.1]:55646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXcwY-0008B1-St for submit@debbugs.gnu.org; Wed, 07 Feb 2024 03:06:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXcwV-0008AM-V7 for 68857@debbugs.gnu.org; Wed, 07 Feb 2024 03:06:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXcw8-0003dk-Um; Wed, 07 Feb 2024 03:05:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QsojFwBrXY9rNcmZSSYY1fbJ90/7EHeBr5vQxjw9vQA=; b=cl8yVYT6pOO6knibsd9G FxTDS7G7Lruv9uzUD5EX+r5gCwrCaNEI9tR3mpQOboj0xbkGNBdBm8ezrpvqprCBvaRD5vFtwk8tq Pjwk/rzgDXD+LwRsyZjzmjzNBlFrwdSOuTZp6VLiavBoj0AyrQMRNsxLjOJIsVAJM4jN7O93jrWlb eztAQCB/G/DeSz9oCq3ide7SrorT948bl0W+P8XX04BhzOdQIYl69zoQfB5vX+0kSSQIRQvLx4Hdl ewOtLA1FzgX005uv1PwCeiHeSXgatWjvAc1chp9Ymab5hasCJFFwH+KW9fFK7up0O7aYNhhOuS4eg JDYCKgQJZI2jSg==; From: Janneke Nieuwenhuizen In-Reply-To: (paul's message of "Wed, 7 Feb 2024 01:54:27 +0100") Organization: AvatarAcademy.nl References: X-Url: http://AvatarAcademy.nl Date: Wed, 07 Feb 2024 09:05:33 +0100 Message-ID: <87cyt8d7hu.fsf@gnu.org> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.37 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.37 X-Migadu-Queue-Id: 0C6B73978F X-TUID: fXFRed03lydb paul writes: Hi Paul, > could you try whether this patch solves > https://issues.guix.gnu.org/68848 for you? Yes, that fixes it. Although I would rather write it something like --8<---------------cut here---------------start------------->8--- (define (strip file-name) (let ((dotfile-name (string-drop file-name (+1 (string-length directory))= ))) (match (string-split dotfile-name #\/) ((package parts ...) (string-join parts "/"))))) --8<---------------cut here---------------end--------------->8--- > Thank you for your time, No problem, somehow I looked for a patch and didn't see it before. Thanks for the ping and for fixing this. Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com