From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id COfpFx02iF/kdgAA0tVLHw (envelope-from ) for ; Thu, 15 Oct 2020 11:44:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2BTSEx02iF+3JQAAbx9fmQ (envelope-from ) for ; Thu, 15 Oct 2020 11:44:29 +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 7B3D0940224 for ; Thu, 15 Oct 2020 11:44:27 +0000 (UTC) Received: from localhost ([::1]:44728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT1gG-00085p-GD for larch@yhetil.org; Thu, 15 Oct 2020 07:44:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT1g7-00084N-4O for help-guix@gnu.org; Thu, 15 Oct 2020 07:44:15 -0400 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:45006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kT1g5-0002BK-HV for help-guix@gnu.org; Thu, 15 Oct 2020 07:44:14 -0400 Received: by mail-qt1-x82f.google.com with SMTP id m65so1379702qte.11 for ; Thu, 15 Oct 2020 04:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=W1i0JXcqFk5LmFxk725+jbZn0C0wKsTW2h1wFFnFwqI=; b=o17bvfHOip2RlVor/P+k2euZQDTrGsPF+i1mmtVxcfIbDHaHhfIDduu7ptImUB5fQQ okCoj02/jCl7hKydSn72IVZ9g2N7hp5gcJDM/sNLrJVJfDJbcOtNEHTLSQ0nU1slx4gu 1wPZpvf5fmaeS/g7xVmwxnbo1eeDMpFoyUXLMqN1/kh8bhNltwF6wWcg898J6KYr1iDF b3WkJBaEIAQz1mqc7235zB8iDfbdhBJ7M0FfzYI+ORsiM/dAsxR7XFp2fQCXl2qEIIw+ bkOyqG0cDjFxKVurVTwuJus6ebQw7dbcGMG9ABy+WLPqFyvfRGYkvKctg/dbFPsmcZ9p lJMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=W1i0JXcqFk5LmFxk725+jbZn0C0wKsTW2h1wFFnFwqI=; b=g7TihDIKPM4UV9Y1eJcsPiwvz61MMHDnrWOFBMJCudKd325gD0P0rRNNM4LQQ1hVGV k3X45tMbum8dYXTvYAKXtRCNxooKrZckIJjadHHYPVe/RGHJ4l8E/YDZBHmgMCZA7daz N1o700lvYyFhppcK8WP/38D4vGR556xurRgGjHwJWcqdakoZqMt9uLtZvKkkRST1S/O/ u98j50yolIKRL+Vt5CrHoNjmuGoSHQZHwjz11M8LusYaWFyj0UqLaDu1Ugyvpo7UkATR KIqnnK0Gspx6izkYGv0USdS/eSFcI1bU9fBCUfoEVlr40JAYdyGvHvza8DW5nUhPB2Kb ZR2w== X-Gm-Message-State: AOAM532VZaYleJ3zwob7MlL5+m/EvqHkC0CgY5c1kmGtA/Jf2Keepuh9 eu8fARsP/HLAiqYknbjHILd/3Sr0orDs2M4yUPgQK5ge X-Google-Smtp-Source: ABdhPJz8JyKY/pu9WHK1+njgb2XdQ/n0LHBpPhKfk3ZBul+eTlloSxt6jbC8ShODupwUpES/aQzBwcsV9U+RGuBfmyo= X-Received: by 2002:ac8:4295:: with SMTP id o21mr3472713qtl.313.1602762252443; Thu, 15 Oct 2020 04:44:12 -0700 (PDT) MIME-Version: 1.0 References: <87eem0l9qc.fsf@simonsouth.net> <87y2k8mihx.fsf@nckx> In-Reply-To: <87y2k8mihx.fsf@nckx> From: zimoun Date: Thu, 15 Oct 2020 13:44:00 +0200 Message-ID: Subject: Re: Specifying dependencies among package outputs? To: Tobias Geerinckx-Rice Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x82f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=o17bvfHO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: JoktbcqeXBKX Hi Tobias, On Thu, 15 Oct 2020 at 02:38, Tobias Geerinckx-Rice wrote: > Well, yes, but probably not in the way you mean: they aren't > specified at all. Oh dear, nckx's responding to a question about > =E2=80=98dependencies=E2=80=99. Apologies to those who know what's comin= g. [...] > If you apply the patch below you'll see (e.g., with =E2=80=98guix size=E2= =80=99) > that installing only knot:tools will pull in knot{:out,:lib} > without any human-made hints to that effect. Wow! Thank you for the detailed explanation. I have also been puzzled by this and my mind was still a bit foggy on the topic. Now all clear! :-) > Attached patch: > > $ guix size /gnu/store/...-knot-3.0.1-doc > total: 0.2 MiB (no references) > $ guix size /gnu/store/...-knot-3.0.1-lib > total: 145.0 MiB (self: 2.4 MiB) > $ guix size /gnu/store/...-knot-3.0.1 > total: 171.1 MiB (self: 5.2 MiB; refers to :lib) > $ guix size /gnu/store/...-knot-3.0.1-tools > total: 164.9 MiB (self: 0.4 MiB; refers to :lib) > > Old monolithic knot: > > $ guix size /gnu/store/...-knot-3.0.1 > total: 171.5 MiB (self: 8.0 MiB) These numbers are self explanatory for me. Maybe this example could go to the Cookbook? All the best, simon