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 ms0.migadu.com with LMTPS id AJ5gOIR3QWEvNwEAgWs5BA (envelope-from ) for ; Wed, 15 Sep 2021 06:33:08 +0200 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 0GMGNIR3QWHjZwAAB5/wlQ (envelope-from ) for ; Wed, 15 Sep 2021 04:33:08 +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 4D1313C4A for ; Wed, 15 Sep 2021 06:33:08 +0200 (CEST) Received: from localhost ([::1]:56342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQMbb-0003vO-Et for larch@yhetil.org; Wed, 15 Sep 2021 00:33:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQMbW-0003vF-PE for guix-patches@gnu.org; Wed, 15 Sep 2021 00:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQMbW-0001Pj-HR for guix-patches@gnu.org; Wed, 15 Sep 2021 00:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQMbW-0007DC-8U for guix-patches@gnu.org; Wed, 15 Sep 2021 00:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50358] [PATCH core-updates-frozen 0/8] Shortened Rust bootstrap & other fixes. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 04:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50358 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50358@debbugs.gnu.org Received: via spool by 50358-submit@debbugs.gnu.org id=B50358.163168036827701 (code B ref 50358); Wed, 15 Sep 2021 04:33:02 +0000 Received: (at 50358) by debbugs.gnu.org; 15 Sep 2021 04:32:48 +0000 Received: from localhost ([127.0.0.1]:50567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQMbI-0007Ci-0w for submit@debbugs.gnu.org; Wed, 15 Sep 2021 00:32:48 -0400 Received: from mail-qv1-f52.google.com ([209.85.219.52]:43749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQMbG-0007CW-J0 for 50358@debbugs.gnu.org; Wed, 15 Sep 2021 00:32:47 -0400 Received: by mail-qv1-f52.google.com with SMTP id cf2so1147397qvb.10 for <50358@debbugs.gnu.org>; Tue, 14 Sep 2021 21:32:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Lw9lSsA4aMWVoyQeHeyBbbhzoLq8bmKVlIQrfXWQe08=; b=WA/FTPlF1hVoZWsP2Hl9yWVoty3kg1VXe8MChma/al9YbyzP7ZJ7l0mQ5oewc2WW/n FWhyUh8vnyHDHPHeWTUuLU2oDCFLWdFeQdvK8q6DzMZOF7vr8SojttH3VsEpDK/ekfPi ku48eMVp8RIBvKrMGdlq+odh2Inn7ISRza55nivM9gRoV4sUs/nE6ysQylqetOJPiCBH coEROukpEXg/Q7IS9EEBQBABbCUzwZofRkHou7ZeiVJp7BwXwTuKbuXDfxPyz/flRNFW 755Nx5PEAVAyhieUj7i4IrSmJlchr8YkhdeOrY4tpj9bAf0ayqixfvEEyn+R3m7EvKGc O0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Lw9lSsA4aMWVoyQeHeyBbbhzoLq8bmKVlIQrfXWQe08=; b=Xe4+5owfMClzKbUm2uDOyFPPHJAIlPcP/xffc1b/jzCebRYTEOkQenf6SFjLtD1oSG O1mKV2U3Y+EEQ8vGQKQgn9QgNm+IPodsB0cLXAwmoQ1JJ5V+oUEuIfjyJjXwcGUkN169 m3Hlp5Fd2N26/nIArCiiwiTc9UzT/dkKqXn2c7/gilhrnXtGkFPxsA1vaAtOftFT5rcU rksBo5EfqQ5PCyJ3so5lYipkXnf7ElPTuPkHXuMd4TxxyCT3fsv2rBC9gjPhncGi7zFw K60Zz5OBjakaPtnccIcU8TXJGqXCsB4qFn+OlUsUHQ0AuYQVhu+KU9A8u9RurpQSKDFG 8aOA== X-Gm-Message-State: AOAM5336aCyXwS3edGq/QhJJ3f16vzQzK/hTYJGBct0EENT5ZRw2ON7f wtUAQ/EI3OrUDsFTh/49qWGybCmSCz4= X-Google-Smtp-Source: ABdhPJxvD04U5VejAaCkaqY97wuyNOS/rTBo1UDz7XUi58yOJhFylPulfHZouzfImP4vLpv8TZgB0w== X-Received: by 2002:a0c:c707:: with SMTP id w7mr9097340qvi.14.1631680360541; Tue, 14 Sep 2021 21:32:40 -0700 (PDT) Received: from hurd (dsl-159-73.b2b2c.ca. [66.158.159.73]) by smtp.gmail.com with ESMTPSA id c17sm7881991qtq.42.2021.09.14.21.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 21:32:40 -0700 (PDT) From: Maxim Cournoyer References: <20210903153116.22517-1-maxim.cournoyer@gmail.com> <20210903153116.22517-8-maxim.cournoyer@gmail.com> <87y28710vw.fsf_-_@gnu.org> <87k0jmpkmg.fsf@gmail.com> <87o88wanna.fsf@gnu.org> Date: Wed, 15 Sep 2021 00:32:39 -0400 In-Reply-To: <87o88wanna.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 13 Sep 2021 10:24:41 +0200") Message-ID: <87czpao3vc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631680388; 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=Lw9lSsA4aMWVoyQeHeyBbbhzoLq8bmKVlIQrfXWQe08=; b=HmTfJEpV6KibLQm+hs08Tak/V6DudLgVjnXwH/VnB5f1rXafKKxBcE2RrF1kHPqL5Mnt+T MPUVOTbQaZj2iNLRBigDjuV724onINNgNxjsE5Q3xUQ7a57QMKfbngbxhxJgJsekwXrlPp lGEEQEtdBH/8YCcf+NT+cT22968SLJb6H7nves2Z86/43Nd29doUowgpCG1hD1QELYUKFS OC4Bb3/NZG7uuz+OsyZ8idSXWCZdwEO2QgNwFggYfH5Cg4suomEXCf3O/nQQ3PWN5N1N+R CCZx6N6KaNKLIsYA9LqWsSV77WYMXNF5d8fIx1ARE4Nh3SHozc1Kp4SutVLm0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631680388; a=rsa-sha256; cv=none; b=VdhFA/GSaNNjQ79+lZRwV/O3PbhslXXlRb2mEKi4fFnmx1JPshcart2eMvfbbGfH6HDL7N zKzsNgL7M7OmS/Nvi5MVfGL++bHHfjD7jdtlYgcgX8gZ0IYD8CKMPqe7o7CDrvdzVrA7tL Sl2+chn84SNjXJRSeZoj2NWjURaN9fEtEJLMNO9zEgD1JvgEBY8e4xoIV59yxMEq2/unow NjJhLWeU+ZX49nVl1KUd1DMjKbKGWVCIG3/1p8EMirRMqyV4pbSdnb5escemc/LZAWisKN W9aF4sG6ZrSsZX6Z9BP5jR/1yDEE10oRbhQ76OPR7InYW+InM4IQC3dIucU46g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="WA/FTPlF"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="WA/FTPlF"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4D1313C4A X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2R2aD8uezzkX Hello, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> I feel like search-path-specification should be augmented to express >> patterns that would be useful with search paths such as the too wide >> XDG_DATA_DIRS: enable only when a child directory/file is present, for >> example. >> >> So far we've been adding ad-hoc fixes in build systems (such as for the >> qt-build-system, via (guix build qt-utils)); it seems it'd be cleaner to >> add this capability at the search path level. >> >> What do you think? > > I=E2=80=99m of the kind who=E2=80=99d rather have reality match the model= . ;-) Haha! Tough! > I think it would be nice to have a FONTCONFIG_FONT_PATH variable that > would only look at share/fonts. That'd be nice, but probably harder to convince them than for XDG_DATA_DIRS, as we'd probably be the only user. > What you describe would have uses beyond fontconfig, which is nice. The > downside is that it would make search path semantics and their > implementation more complex; we=E2=80=99d have to see what the impact is. Yes, more complexity, but localized (and can be tested), rather than diffused (and untested) as of now. > Thinking about it, I wonder if having (file-pattern "^fonts$") would > work here. But then, what if a profile contains several packages with > an XDG_DATA_DIRS search path but different =E2=80=98file-pattern=E2=80=99= values?=E2=80=A6 Perhaps this could work too, *if* the behavior of various same-named environment variable specifications is to be combined into a logical OR manner (I haven't checked what the current behavior is, but I seem to recall it not working from past experiments). Thanks, Maxim