From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MIhYF+s3XmAoHQAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 20:37:15 +0100 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 eA47Ees3XmD1XwAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 19:37:15 +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 01D19EED0 for ; Fri, 26 Mar 2021 20:37:15 +0100 (CET) Received: from localhost ([::1]:44372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPsGf-0005dA-SE for larch@yhetil.org; Fri, 26 Mar 2021 15:37:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPsGM-0005d2-47 for guix-devel@gnu.org; Fri, 26 Mar 2021 15:36:54 -0400 Received: from mail.zaclys.net ([178.33.93.72]:37953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPsGI-0000ZM-7d for guix-devel@gnu.org; Fri, 26 Mar 2021 15:36:53 -0400 Received: from guix-xps.local (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12QJalGl005520 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 26 Mar 2021 20:36:47 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12QJalGl005520 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616787407; bh=DfshmDobXc2M7gqsTjLrheWINZ9ArbGQkDFbIXWXIB4=; h=Subject:From:To:Date:From; b=Pvmh/XnY9o7zGCJiBm4Qp51tHEnjFRssZo//li/dT/6OnSGXxH+MKTyfz0bgKqxjQ zA6M0Flp0yPqrDkIMrI0fVM9yxZ/6ps6tlConMAB0JoBLwcUtjo3Zb5nty0sKp7jHs opOuilqr6wGvtzfM1MrF3etnjNNqZ4McaoK5vsiU= Message-ID: <1e07eddcd0576658a2a02a952bdf569ba471f81a.camel@zaclys.net> Subject: Specify runtime dependencies with propagated-inputs or wrapper scripts From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: guix-devel@gnu.org Date: Fri, 26 Mar 2021 20:36:38 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vDeoZYtbTbsUuwLOBu+b" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.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_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: , 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=1616787435; 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=DfshmDobXc2M7gqsTjLrheWINZ9ArbGQkDFbIXWXIB4=; b=gmt65XCOzNN/duQZMrkqy5POkSRJ257cdYI01PeJ2oVdmYuPsSNyrmmzx1XN1sMUHiP1T+ qKo5YM+rtDS865RJSxO4ulpq8YhkTdiJ7ubjMBd1qU0Ur/NuAQOx3jq4ilDIRbsY0b+tmi FOP2n+3DzDOSn+bAWrfojuzYk3xszJPOMdIAi6hbSf2NEzGJ+C5W2+Uydv7wKAKTr1xMT5 8G3cDImtG8f2HAIGTWo6bS4b0JmkOoav3NHthNbwTnTY+LiP1j40cI3OwBQPwR0ko+oJ0q j2ob7IUnZzDbL6b0Y4J6WKQALjn76J4VNf0VmFwDL2abARu5wja/s9SculxGJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616787435; a=rsa-sha256; cv=none; b=CeXd7HNwE0G9im1LdThxcvad/Ltn0V+dy0hmFKUwGK9fcerUug4nd2tXf5jyTbO4Dns8Jq Ma0iOInMBLUxHiw48aYXWGKHCEeDLYex8ICuxqCZVRrRZwe9Pz+7EaXs6PhQoSWRXI9mk8 vM1uR0AS8FpolXIs20JkYvn2+TpQXOzG1yaRjpb15iDLbelfgV8uNSbUy5KgHi2dXQF9xn cynOCbe3238zkLDGzwV8RiZZ8HXN8YYSOA8NiqY2H774RpIBaC0bT6OWhwaZQnRVgyJ2AU q09/3rQRkUedZSYZCHYviR7KrhBYWvRlNRdbG+jjWiZ/U7AAQxbtF6dRY0+Opw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zaclys.net header.s=default header.b="Pvmh/XnY"; dmarc=pass (policy=reject) header.from=zaclys.net; 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: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zaclys.net header.s=default header.b="Pvmh/XnY"; dmarc=pass (policy=reject) header.from=zaclys.net; 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: 01D19EED0 X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: gcrU+rA0I1SE --=-vDeoZYtbTbsUuwLOBu+b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I often meet problems where some packages don't work out of the box because they have some runtime dependencies like themes or third party programs. I solved these problems on occasion by making commits such as this:=20 https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D00c1793ce8e2210e48b= 18422ea3e76da10541874 - which adds a wrapper script to "bin/chromium" and includes xdg-utils in PATH variable. It works but it's tedious to do for each and every binary in every single package. I see we also have a propagated-inputs field, which looks nice but for some reason people advice against using it. For what reasons? It is not as tedious as wrappers and I would really like to be able to specify runtime dependencies of packages using it without problems. I think we must find a solution to this runtime dependencies problem that is better than wrapper scripts because they are very tedious to create for every single binary in every single package. Another recent example being that the caja package depends on dconf to change it's settings, which is not installed by default when users use window managers like sway. Let's find a convenient solution here that would allow us to put an end to these problems that affect many new users and remains obscure for them that they would need to add additional packages in their configuration (and which). L=C3=A9o --=-vDeoZYtbTbsUuwLOBu+b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBeN8YACgkQRaix6GvN EKZh6A//VQ+IKdR1vNC9FxYoaS4hUYGwizjxDYg7uArnwmTHa4OdrRRFiT/K2sYL kXZpYc0EuV5UDldbqODNKrVxSLu2szQ5G/3E/ENAchU3f+pkFWx4MfIql/urCcC0 PEGXMRU1+M4WenoNq4oNZj/4HiaV12sDF9IgP8h3GNuUUS1aAoy+r/jzHPieZtFT cnZkJJ0ctiOBQZ/oL8/dB/+N8pGcEb/9Tp5KL7proVR/CgNKnDovdoMR/ZyvEfQK fQbrdsYM66E0yUA3nOS+sCHFgCG0or7uifLcjOGDyRVzl7nt8fzYRTQlnBE16rYF LjX41rfo8wzqa7vp+KMUKNyuL384fdbyTh2f1JGIajTR77fTWMcjaZOZw/TzFQrO LmokIJlBZpRYHUTNBD5yKPCerCG30UKJzctFxSPYyl2J/Bs93KJjc6A6jHdTAS5Q eezHy8+bC0dPlpr93RwyyRIwJIAMbUOzbyj/FyyW3nrmMepnfqhJ3QYRDI0toYkD dMukeact+m54Us/rcIER1PdEDSnZgDbIvl1NOKnPbD3Lz/93lmD2FL+0d5rJ7JOc 5IiOUweKYDXo1U+T5Q93GvLpMU7nrgksoTKrybnVHOm4fZjpviBAfoEiGpDcKeSg ieEtPdN9cxATW7lWIQFyxiCZxi7/lRqjE+cBn5/x9ddhzHBEvzU= =/Oz3 -----END PGP SIGNATURE----- --=-vDeoZYtbTbsUuwLOBu+b--