From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EFPfJgjbWGC8VwAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 17:59:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SACpIgjbWGCpdAAAB5/wlQ (envelope-from ) for ; Mon, 22 Mar 2021 17:59:36 +0000 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 52A0C1276A for ; Mon, 22 Mar 2021 18:59:36 +0100 (CET) Received: from localhost ([::1]:54264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOpz-0001J4-C1 for larch@yhetil.org; Mon, 22 Mar 2021 13:59:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOOos-0000xW-5i for guix-devel@gnu.org; Mon, 22 Mar 2021 13:58:26 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOOop-00043L-1M; Mon, 22 Mar 2021 13:58:25 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B230417D3; Mon, 22 Mar 2021 13:58:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 22 Mar 2021 13:58:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= B0YPdYdWUAP+jYtaWsbKvC27OwhGjqyjQLhLX+BETp4=; b=J/LHoiLH0Usqau57 85osSFN6MOaqUp0qhw+ZK0e+g33lw4y+SnkRvHSntyX/6Z332q5uilUhXvI2AUrL sNw/i8DMXMoBYmFmkRHqDETDAo/Hgub6Ec9uACkDYmTc/I+99CAaQxZ7wm7WgHIe x1l8+uuQEL3m8i2AxnAdLQxuP3sQ5I0Vs/c9D42vSqOjTJtgSnFjQsXzZeHrkjro mC0gpvQf/Q3j+w5FLMMWm0X3z9fcFep6cGk8Yo1DuOq9MsUVm5KwfPzmlWRXN8h9 KOPQYPmXZxMlWZdGavX/QdQNBQGoRMsRoR7BoPI3lqg39zW7BZPMxksJEe25rBQ/ pr6ETw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=B0YPdYdWUAP+jYtaWsbKvC27OwhGjqyjQLhLX+BET p4=; b=JthSO5jWqqlQQqB5e2010aKGYiwMHEObQ/Nn3nKiytjEDY4lEY/PUUITU KzgfABn+dc5s/UjY8VnWKCJqgfTXMGRNn9BjALBJDizMTkpKWM+gH2xYLrMRgTKT MQKfBh25AqNui8PlM83GPbQjJsro0c8QIZ9SBn6NqB0q9X2HynG0ItaxQ8z44RIV AtQUY2M/TQcY4CqmowDfCIWkC+89OBRsV66qfjs1Dzdb0VweLzPNjtEXgpP3CtWG wo4K8za4hMXxRUnFMQkXqx564rYNz0IjfeUSFnwpxDMeD5oe3DzpbOm9immYszmQ PP15ByoPZY8bi3BxijOTTwJUPtenA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeggedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffffkgggtgfesthhqredttddtjeenucfhrhhomhepmfhonhhr rgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnh gvtheqnecuggftrfgrthhtvghrnhepveehleevgeejuddvgfduieefveetffdvteegfeek gfduueejfeegvdehgeekhfejnecukfhppeekiedrvdegjedrgeekrdehkeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhi nhhsvghnsehfrghsthhmrghilhdrnhgvth X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-idf2-1-840-58.w86-247.abo.wanadoo.fr [86.247.48.58]) by mail.messagingengine.com (Postfix) with ESMTPA id 8999F108005F; Mon, 22 Mar 2021 13:58:19 -0400 (EDT) From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Finding the store path of a package In-Reply-To: <8735wnxiok.fsf@gnu.org> References: <864kh9ws7z.fsf@gmail.com> <8735wq7xb4.fsf@gnu.org> <8735wnxiok.fsf@gnu.org> Date: Mon, 22 Mar 2021 18:58:18 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.20; envelope-from=konrad.hinsen@fastmail.net; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616435976; 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=B0YPdYdWUAP+jYtaWsbKvC27OwhGjqyjQLhLX+BETp4=; b=DWu/quwxClMD3G+F4Xd67U0hu6+iiUN0bjYRXdJ2+ltYkYujfc0b/MjtpZEVtYA5D5xzml 4rEO6ho9uJgCb7l84qZuRX1e7NSTAoLd29aEpG0TPwZ5J817nlNr5VdSe6B1CAhamYCa8R ukhMktB5xZsP+7eh7fZHx8OkEX0CwZTsgd+3RlDU9btbcW4Hctw7uE/U7HOFY/NY0bF+GJ ckAOQVPKCy+MWpil7gSWdEkDS5p+aDrBbX2iIwoc/E7href4SznE3Bf9Ncnh5XkMzjFX7M DfiInAuCQ4sXoPIR4cJqk+riyG1oqGUJMrgw/iGl03UiiNxk9Rro0+TpXUP2Sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616435976; a=rsa-sha256; cv=none; b=tHucIKqdMx9nboVe9Y75R2L6nCtrBShaK1Xi7aZZPP+8c5529gm4RrWK2E418lbn0vbHr/ HA0Ca2o1J2PI2x9bZyrpyT8Wj015bwHQ3Q3UbGKRIhcHcijM2nMjukxkPM2lnorJRlEAZM n4koBah6Lzh6ZN7OxL7gEW8+jG4nlH7i4u6getHaQixisxxbvdMzkwFOZhC8fFAWxuoQ8y iIvaX54jDbPk88vVtV8a09wWjrS6no5qgtSlds1/C6mE+c0EgTiJKVnQDmsTMT2ej5h3G/ mNnrWgNwv6u7AL3T2abJEkxf8VQ1u9y6RA7VipZ1MqGo8FilHjwc2ieKR7DHRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm3 header.b="J/LHoiLH"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JthSO5jW; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm3 header.b="J/LHoiLH"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JthSO5jW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 52A0C1276A X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: KCxJHxwOaAdl Hi Ludo, > Here=E2=80=99s an example of how to do that: Works fine, thanks! > Why #:graft? #f? Because if you enable graft, you=E2=80=99ll potentially= have > to build/download the thing, and that wouldn=E2=80=99t buy you anything b= ecause > the set of file names is the same in the grafted package. OK, so that's the secret, because that's the only difference with what I tried before. One day I'll figure out how grafts work, but that day is not today ;-) > For #2, there have been discussions about building a service that would > create such a database=E2=80=94a mapping from file names to packages. It= =E2=80=99s not > possible to do with purely local knowledge because, by definition, you=E2= =80=99d > have to build/download every package. I don=E2=80=99t think it has mater= ialized > yet, though. That would certainly be the best solution, but in the meantime, I'll go ahead with what is possible today. In practice, I expect most such queries to succeed because there are only a few packages that contain popular commands, and those are usually in the store. Cheers, Konrad.