From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wFiFJXBWHWehTwEAqHPOHw:P1 (envelope-from ) for ; Sat, 26 Oct 2024 20:52:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wFiFJXBWHWehTwEAqHPOHw (envelope-from ) for ; Sat, 26 Oct 2024 22:52:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=simendsjo.me header.s=fm2 header.b=EPcIS9La; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=kIGicLb3; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=simendsjo.me ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729975920; 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=Ho6KWQvnBM2ByF0dZz3mJdLQnU3Btkwr0Q1UsMLDcX0=; b=a86YWVPfU396TY1gqc6UzXELBC8C1RAZyGCBKaBcnzgly2MxPQdP+3lFcsLQ5s6nBWsyEr NvMoTJV5PO1dXIusQt6/4EpEAkhcnbT+0fiiIaduW7kzJRqbCzkNFPRBUuVOUJT3XiczSO 15DzD/DZsT9RKgelZYnFn3Ne6rwOn1xF4UmVs2+dH8UDqPtj2gOIR6Q3ciehrIhoi6ykaW ehf6NFqYxL69BDIJb66Ende6wPCUDqZO5/2wlO011I1OZGALVvvH25vkZ0LGStpCfvvqJd X5x41HkPiaT9IDlbGhFQF/t1INjRgmKY7N2/WuZE2rq32Ftxwwq9XXoUqdNJyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729975920; a=rsa-sha256; cv=none; b=ZU8DsHBjaxAdLtRMxC+yYfT3rhgO53VGoMeFy3dBgZWQ0m9Ljgqi7IwlVqrwri06pjfp3Y ZsCnvcStFL9i3GOqAQEXWzPJL2eU1mwnayLXSxEPAb1oGRzts9mt6p+U42Qeia2u6bSwOr AUMKxEg4GqTL49tqnWzGjMoFUW1QjqoUHNIHcow3xXNtnKATfYX084m7eHc9HQR+ECFv1f hTTWpktwjO04JM+xXOsChJHfGknweE29e3tgAWKfNeaLBUO84cBKA++5f4wVwjRuMOdVge 2pjFkE2pcFP8VQHbMDa0wz/j2mOrUQMYwBwlpA1B+CORPwOhcxRIH0X75UyxDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=simendsjo.me header.s=fm2 header.b=EPcIS9La; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=kIGicLb3; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=simendsjo.me 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 8DEC97B483 for ; Sat, 26 Oct 2024 22:51:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4nks-0003vV-Io; Sat, 26 Oct 2024 16:51:26 -0400 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 1t4nkp-0003v0-DH for help-guix@gnu.org; Sat, 26 Oct 2024 16:51:24 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4nkh-00043D-7T for help-guix@gnu.org; Sat, 26 Oct 2024 16:51:23 -0400 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id 52FF513801AA; Sat, 26 Oct 2024 16:51:10 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Sat, 26 Oct 2024 16:51:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simendsjo.me; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1729975870; x=1730062270; bh=Ho6KWQvnBM2ByF0dZz3mJdLQnU3Btkwr 0Q1UsMLDcX0=; b=EPcIS9LaCturJq575iaG1vwF2Dah3W1VeUBX66/GNSRJc8Ys DNoAo3Z/WRPnsHTSqplB9ynEYQuHDX9UXTgDSAOFXTu7kppnU8ZS5QnIQSy8g8GL k5Mw3qnJv8xsIpXYLI/M6YrKtAY6JGPvJqIoy6LeszMss024mBDLzzyDbESF95d1 KsqId+FzOpx0aB6T/lrrerRIIvrTe7NjttkhEfrZA4w5c3xb+35qM8MMkrtijvTF vKvP1gobefFPHsPpSHz9UicFfB87AiBSyjViHLeK3Xwo6kPlPRVrW1A95y1vEfPm MdiBaS7xiOxAt+YQlABkNxl6y2Ygp3NACUfQ+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1729975870; x=1730062270; bh=Ho6KWQvnBM2ByF0dZz3mJdLQnU3Btkwr0Q1 UsMLDcX0=; b=kIGicLb3AUlrlre7Jwp2wovfSRl2EfYPgGBIzhA0a0eM32bGDOV 9I0rNEUxpp9re3cPbZFNLSBXnVealnko/kg4q9Az+yoKqv+c3ERVJIPDOt0dmQFl Sns6CwEKyjLql77bQuCJugoguMf1c2j8gf1jRuk1EmBwGYWxbwZQBioKYG2ydA3i YPTdgb9SXCkRX3tPEyHLWVy4RF9PTgRc/2apdaKxus3Oz/LaLWXj6S5+3uLRrw1Z 0n9wpcFiWFyMlz1VkxUJIG6K/CkJO3Eu4YXVwNPayb7q0Yq4rffiVoIGCZriR87e NVCvH+o0RQbVC8KaGPRCalk/u+hnWewb1Cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejgedgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgesthdtredttddtjeenucfhrhhomhepufhimhgvnhcugfhnughsjhppuceotgho nhhtrggtthesshhimhgvnhgushhjohdrmhgvqeenucggtffrrghtthgvrhhnpeelgeelfe fgleeuudeltdeutdejteejgfekgeegkeeuieejtdegheetkefhuefhkeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhnthgrtghtsehsih hmvghnughsjhhordhmvgdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i08f14972:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 26 Oct 2024 16:51:09 -0400 (EDT) From: =?utf-8?Q?Simen_Endsj=C3=B8?= To: help-guix@gnu.org Subject: Combine outputs from several packages to a shared location Date: Sat, 26 Oct 2024 22:51:00 +0200 Message-ID: <877c9ulhaj.fsf@simendsjo.me> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.145; envelope-from=contact@simendsjo.me; helo=fout-a2-smtp.messagingengine.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.85 X-Spam-Score: -4.85 X-Migadu-Queue-Id: 8DEC97B483 X-Migadu-Scanner: mx13.migadu.com X-TUID: 7Xwbu3/M5bvN Hi, I'm trying to package some software where I combine various packages into a single location. I'll try to explain... I have a package P. This package contains a binary, B, some libraries S, and some libraries R. These are usually packages together, in which case things just work, but I need to support adding various versions of some of these packages. E.g. I add P@2:out to get everything for that version, but additionally P@1:S and P@1:R. B can only be added once as it is at the same location, and we usually use the latest version, but S and R have versioned subdirectories. This means S@1 is located at /s/1 and R@2 is located at /r/2. Given the shell with P@2:out, P@1:S, P@1:R, I should get a structure like /B /s/1 /s/2 /r/1 /r/2 This is the structure you get when installing the packages on other distros and operating systems. But how can I create such a "virtual package"? I also need to register this virtual package path in an environment variable so B is able to locate all S and R versions, P_ROOT. Right now only :out works as I cannot get the locations of other P:S and P:R known to B. The single environment variable can only point at a single path, and that path must include the s and r directories with all installed versions. How can I solve this problem? Are there other packages which does something similar I might look at? Regards Simen