From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SPhFEPwFyWWozgAA62LTzQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 18:38:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SPhFEPwFyWWozgAA62LTzQ (envelope-from ) for ; Sun, 11 Feb 2024 18:38:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=B3VG+iqr; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707673084; 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: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=PzYDTd+uGse86cZkCDMxwMLtTN3lstrH+DBtTKegP2s=; b=XLxL7H6KVZROlPCsVKeT08EZ9769k+MvyM8ilMQU9vYRxsC60Y3/AAqGJNj3VoMdhZtR8h G6eZklkfbk/wP4/LvWVrKLRROCDP7lJp63QGcQiC39uDboBk1IBTD3Zqg20FtAoSAfFSjn 5mu2E1iuELV8h5Ql4N3APPcIbjZocq4vszHUi3xSwgAbKK6KFAr8O32z1Jv195uvFgS4ZI n3hgNcfpgnVR5JG5NSvdx7WrNpGhyRMt80luenL47OrnzUiofzJ76yXdXj9POi962sqEjx KRSenBu2DJflcVc46MMZ2kzsG0sfa0cvaWmTultgt/4XNvSdWxH/aWfYXY2X3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=B3VG+iqr; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707673084; a=rsa-sha256; cv=none; b=ScuP4kczvihq1Ut/EgMAwMh52/mswziMomIHDHqyWZhLcuZAtrme7E6oBPlu+tI3fYBuMY eghpON1x5TRAeTLoYgJrrUvJ9rMNoI0qR8raG0gszSCxO42d/qLlp3fp0XxgyXS5WwUK3v n8Gqy5zlJWVHWJJW7hO3tR310dlHfXnVNII40togJnJZh24kmLdk2uADCBzoFAFT63u9bw 5kGnRhYzKPPBNH+Kgr+oBOZnx+JODSOEPo++Fje8zNAgsABPUDJGc5f+0qJsCrhXyD43Q+ RojTgtnsTe/J4hvWkfrUJ6g+VdLHylafOFwLTWOTlY/1gJSXN/yPV2RyGx78Pg== 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 DBDDD23F69 for ; Sun, 11 Feb 2024 18:38:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZDlz-000486-RY; Sun, 11 Feb 2024 12:37:47 -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 1rZDlx-00047D-S8 for guix-patches@gnu.org; Sun, 11 Feb 2024 12:37:46 -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 1rZDlx-00073E-Io for guix-patches@gnu.org; Sun, 11 Feb 2024 12:37:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZDmD-00011I-RJ for guix-patches@gnu.org; Sun, 11 Feb 2024 12:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65155] [PATCH] gnu: mesa: Add native-search-paths. References: <20230808180851.32652-1-i@dan.games> Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65155 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: 65155@debbugs.gnu.org, i@dan.games Received: via spool by 65155-submit@debbugs.gnu.org id=B65155.17076730483830 (code B ref 65155); Sun, 11 Feb 2024 17:38:01 +0000 Received: (at 65155) by debbugs.gnu.org; 11 Feb 2024 17:37:28 +0000 Received: from localhost ([127.0.0.1]:34314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDlg-0000zf-9u for submit@debbugs.gnu.org; Sun, 11 Feb 2024 12:37:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:51377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDle-0000zM-Fg for 65155@debbugs.gnu.org; Sun, 11 Feb 2024 12:37:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C9505240104 for <65155@debbugs.gnu.org>; Sun, 11 Feb 2024 18:37:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707673023; bh=6/mGmQnj2T9P51FX7tmYBXxATYeXLMGLjSXsgI13KkA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=B3VG+iqr40Xblw44NzU1nX5bRkMXr6x9bIjzDLcA/32o1Fm1VCwKIjjO+WGAtKGLS t1iPW2LEqxF5sbDqCBPdU5w6OAGnG08QNcrJZwv22JIM4xVTLNFCd6AzMZmMbnw+RS C0gWAlnVXS33NvqQrwdlLtUKCDVB78YxHUyR0jW/SMsYlYblThMYfL0/K7Ei/AXu5e TKamMec9elgfadQrMjtn4QF0xLaBnlAbYSHTrjAICdYiMob5XkxtRHRcx9+GARou/S VYKVCJhJCLfkac9gYdIeQlQJ/xCcvcKzLep+0PsLRtOdBeEDi1AFjIojCZPBS8gcRv UZI/pOuUmJkHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TXvsp2b4nz6txq; Sun, 11 Feb 2024 18:37:02 +0100 (CET) From: David Elsing In-Reply-To: <87msuy8lte.fsf@protonmail.com> (message from John Kehayias on Tue, 28 Nov 2023 05:54:25 +0000) Date: Sun, 11 Feb 2024 17:36:52 +0000 Message-ID: <86jznanbrf.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain 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: 2.12 X-Spam-Score: 2.12 X-Migadu-Queue-Id: DBDDD23F69 X-Migadu-Scanner: mx12.migadu.com X-TUID: YEOI0EDZfKMq Hello, John Kehayias writes: > So perhaps this belongs in vulkan-loader? Although I admit I'm less sure > for XDG_* related paths. Is there a test case or something we can see if > this does what is intended for vulkan? I also noticed the same problem and agree that the search path belongs in the vulkan-loader package: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 285d6be7f5..98ce979652 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -303,6 +303,11 @@ (define-public vulkan-loader wayland)) (inputs (list vulkan-headers libxrandr)) + (native-search-paths + (list + (search-path-specification + (variable "XDG_DATA_DIRS") + (files '("share"))))) (home-page "https://github.com/KhronosGroup/Vulkan-Loader") (synopsis "Khronos official ICD loader and validation layers for Vulkan") --8<---------------cut here---------------end--------------->8--- I tested it with --8<---------------cut here---------------start------------->8--- guix shell -C vulkan-tools vulkan-loader mesa --no-grafts -- vulkaninfo --8<---------------cut here---------------end--------------->8--- which works with the patch applied. As documented in [1], vulkan-loader still needs to be part of the profile for the search path to take effect. Cheers, David [1] https://guix.gnu.org/manual/en/html_node/Search-Paths.html