From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Q92kJKlPW2IzLAEAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 01:22:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EOKbHKlPW2JJQgEAG6o9tA (envelope-from ) for ; Sun, 17 Apr 2022 01:22:17 +0200 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 CC3F911648 for ; Sun, 17 Apr 2022 01:22:16 +0200 (CEST) Received: from localhost ([::1]:37846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfrk8-00081G-2A for larch@yhetil.org; Sat, 16 Apr 2022 19:22:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfrjx-000818-KZ for guix-devel@gnu.org; Sat, 16 Apr 2022 19:22:05 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:48456) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfrjw-0003xP-0S for guix-devel@gnu.org; Sat, 16 Apr 2022 19:22:05 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 28DC41AA72 for ; Sat, 16 Apr 2022 16:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1650151315; bh=rAvB8iucHJFxyjSqKYZjrqTfC3QWIln8GonEpYzt2WU=; h=From:To:Subject:Date:From; b=EcPR43BuDVDuK8+YgdUYXMqf3S0UUeahr3wFsRedSgzKDhGBJHdOfFO/LGzYpOEus yuZcwk8hMlFDFzn4VZLCtL/OusGvViODohiTO0kNWuuO5pqwmlvkg9v8ndH5e6G9vR Lrr2/DCXZLQyzxT+kxDk0VLUBzy7UGBiO52r9zfXlxqX3uDxkJ3Azmrd/iLRJ6gbBw Iqp8Mip8dW+xOi7uiL19U9xyA0qSgz+M2aBTMIIVG4aeaNS9AMfXwP32ti88wud5C5 pEXOqdtyawn+g/zD26KFlvnqJDrAbuqAh5r7gIeH2VTf4xexwu1WdxikSykepB53T3 d/b7vVUBhEK7g== From: Vagrant Cascadian To: guix-devel@gnu.org Subject: How to find binaries in libexec dir? Date: Sat, 16 Apr 2022 16:21:50 -0700 Message-ID: <87mtgky5pt.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650151336; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JE73I8P39j8XmsL56Ew8st19UKtCxMfT3/FV12H1LGc=; b=gRnBla3NDuUYBIMFZNlH3yNCnYxxFdGL7BupPLm+Tcj3nocNLpBf2QSiAtyLzKECxVvaRY XwpO+pG6E8IfqYx+Am+poLakx7lt66lFvoOcujfFhkOFLkBmYYE56LYeuin4Ow8wrPMMmW PICPohy8WiFLEudyta17C5CFE7Qk/hpN4KNA6K0iHGl+JlBNqlq0hz8hv40kCmiigYLpty dfs0q7yzN1+8KNfzufemB1Y5cC2AgzJQfp0FkDcEeQDAA+nABv3uFqORMBylx96lt3wBHS bUSWmW69pZAL/lPIrU1qq0QUDXsONJTK/26sBHEqOOgMmeFI3ZsptDRQfg/pEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650151336; a=rsa-sha256; cv=none; b=A6mHEE0mXCYdYVfSoeG0leAqUQh4OSrLfUQ3lz9wlDie4f7YTzau9s6PCKmq2nREi1Zocq HPIIIZo1rl4qyiYAJtMDIMMscWEbyFqAcxKNGTDmujNnmeofbGGaOriQ8AlojRb6VxnJHe uBMto5iESiZRM8z3SRvNDa0xBMqOGlLsJeKr1bDyWG1m2Uztg2y/LESYI1SboV/QT8aUEQ U6E33uV5ybAPke1GceQ88I5TyaZObG1CdzzAhGrvzybAV3Yo5eN7zVSqmnBr+DeIyxuEJs 4hH32RCHMO0O22NNSKHa8aynbYfRu2tdmMfZN0di5OpOpgABATU+1J4qg8p5ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=EcPR43Bu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=EcPR43Bu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CC3F911648 X-Spam-Score: -5.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: ed+pIvoW+2YF --=-=-= Content-Type: text/plain Diffoscope uses *lots* of optional tools for which it would be impractical to embed all the tool references in the guix packaging... instead, for the most part, diffoscope relies on PATH to find helper utilities to decode various file formats into something more human readable... But libxmlb ships the xb-tool binary in libexec, which diffoscope cannot find on guix. For Debian, diffoscope just basically adds the corresponding directory to PATH, and it's basically a single directory, but I'm not sure how I'd do that with guix ... How do I find all the potential libexec dirs that a user might have in a given environment? On Guix System, I'll likely have at least the system profile's libexec, the user's libexec, but as soon as you start using guix shell, guix shell --container, or source multiple profiles, it's hard to know where would be "reasonable" to look. A workaround would be to adjust the libxmlb package so that xb-tool is also in PATH somehow, but maybe this is bad form? live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYltPjwAKCRDcUY/If5cW qlwEAP4hXNe3NNgmU4OdLfHM5+m/3t26LAZ0atTXCgL5uRjydwD+Jlz3jn5gmnFm 5qLzcLQbvz+BryNwVSCwaNdxDnQAJQg= =Ee8y -----END PGP SIGNATURE----- --=-=-=--