From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wBlLJsb8IGLTcgEAgWs5BA (envelope-from ) for ; Thu, 03 Mar 2022 18:37:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SPjrHsb8IGJKCAAAG6o9tA (envelope-from ) for ; Thu, 03 Mar 2022 18:37:10 +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 7131F10708 for ; Thu, 3 Mar 2022 18:37:09 +0100 (CET) Received: from localhost ([::1]:43624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPpNz-0008W0-Uy for larch@yhetil.org; Thu, 03 Mar 2022 12:37:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPpNu-0008U8-Ia for guix-patches@gnu.org; Thu, 03 Mar 2022 12:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPpNu-0002I1-9p for guix-patches@gnu.org; Thu, 03 Mar 2022 12:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPpNu-0004xd-5y for guix-patches@gnu.org; Thu, 03 Mar 2022 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54221] [PATCH 4/4] gnu: neovim: Update package style. Resent-From: SeerLite Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54221 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 54221@debbugs.gnu.org Received: via spool by 54221-submit@debbugs.gnu.org id=B54221.164632897419008 (code B ref 54221); Thu, 03 Mar 2022 17:37:02 +0000 Received: (at 54221) by debbugs.gnu.org; 3 Mar 2022 17:36:14 +0000 Received: from localhost ([127.0.0.1]:43605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPpN8-0004wV-4x for submit@debbugs.gnu.org; Thu, 03 Mar 2022 12:36:14 -0500 Received: from mx.nixnet.email ([94.16.121.167]:41486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPpN6-0004wM-PG for 54221@debbugs.gnu.org; Thu, 03 Mar 2022 12:36:13 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mx.nixnet.email (Postfix) with ESMTPSA id 535FF200232; Thu, 3 Mar 2022 12:36:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nixnet.email; s=202002021149; t=1646328971; h=from:from:reply-to:subject:subject:to:to:cc; bh=DTI8/qzAbO1m1ILE4rpH/bDyUrrt/46sS/97X7e/1D8=; b=UmJezPg7TKVqKgaz6ybV4Gaih82+TOrwNNBaFtgOyUMrEWCrK+QnzsdUNMgthWQZ/aldvW /UmxU92WIb5JUFzy/l8KDMTLnL9yud0sRo0k6RwAad4Z6TLvZuH+SoC3KZWq3jHziCrfMs SyU6yhaASFTCtKwgnQl3qzxGD/bi74s= Message-ID: Date: Thu, 3 Mar 2022 14:36:07 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US References: <0ee8ec7a501cf53dc1b70b0ba21f72c0f3dc2d58.1646227054.git.seerlite@nixnet.email> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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" Reply-to: SeerLite X-ACL-Warn: , SeerLite via Guix-patches From: SeerLite via Guix-patches via 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=1646329030; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=DTI8/qzAbO1m1ILE4rpH/bDyUrrt/46sS/97X7e/1D8=; b=GSm8S+FdhGYtCrjm1KQcWFv81LCIcgSRtVo1G48t6BF+5SAIhlbEdI7SNFa3uWRn9r5cVr 4YWPT86suHGsWQ4veWA0+dMsSK8uy9/8TsPi3WixNXXHsmDRQODz/eZ3PtDlsnalGNp6S/ dJYoQDmj0TfR3sF1p2ayohClo4OxGfrQLfwr6MUKga0QdrKf1fBt55w5SPP4A9AkCiS/FU zCMJVs8BcAPOcZ/jTexQaby/x5TTQGoWsPwsz/i23lgOTTWagAEnXEuSC4MalzLZaxRsb0 pNMK/zh5iAnCYtLS2pnYvtqyBZLCGbksJzthQHRDiRrAn/72yyc1n7cSgGZ5TA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646329030; a=rsa-sha256; cv=none; b=Hj6kmMukw/OzPboTcVOgap9fEAKwhdJEVxOklrhgAGGKqowlhRG8+uCI1FKfNx2Trz5J5J lK6lxD+6ldJvfxBQh54ugoOXwMlrmA5zSq1pKd6PB8g8VzOlQck9J0fGnaaYljvh7gloa+ fBMv4Iiy/yppT8H2P7DHMoCjmvYVoqr+RELELSSXxwmqajTqag+1lvJ3fG+/gLLuWYYUtz Jx0KAQDARWMI86XvYqDE6rJNAQIU13x2Qmk80fKvARvnhoe+rlnJLf4hG9c8FqPNvY6C+e yCFEuqlG2/Hbpsv+2Dq5i+MnoMaKkP5GskdZVk/C5Ebxg2I1VjUt1rtK6bvWFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nixnet.email header.s=202002021149 header.b=UmJezPg7; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=nixnet.email header.s=202002021149 header.b=UmJezPg7; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 7131F10708 X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: qtJPjOZUoG6t On 3/2/22 14:40, Maxime Devos wrote: > SeerLite via Guix-patches via schreef op wo 02-03-2022 om 10:17 [- > 0300]: >> +                     (vimrc #$(local-file (search-auxiliary-file "guix.vim")))) > > This stops package transformations from being able to change the > guix.vim used. WDYT of using a variant of 'search-input-file', that > strips the /gnu/store/HASH- part of the store item names and tests > if the remainder equals the string "guix.vim"? Such a procedure does > not currently exist to my knowledge, but it could be written and would > be useful outside the neovim definition. Ah, is this also why package inputs are specified explicitly instead of using gexps? Is there any benefit to being able to change such a file via a transformation? Editing the vimrc feels like editing the default configuration of the package, rather than swapping a dependency. And that looks odd to me, maybe because I'm more used to package dependencies as inputs. The procedure sounds like a good idea, but wouldn't it be easier to just make `local-file` not prepend the hash to the filename by storing it inside a parent directory with said hash instead? Is something like that possible?