From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8Dn2ORuy5F5jCwAA0tVLHw (envelope-from ) for ; Sat, 13 Jun 2020 11:01:47 +0000 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 UMm1NRuy5F6/LwAAB5/wlQ (envelope-from ) for ; Sat, 13 Jun 2020 11:01:47 +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 8A5779403E9 for ; Sat, 13 Jun 2020 11:01:47 +0000 (UTC) Received: from localhost ([::1]:58084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk3v0-0003rv-HG for larch@yhetil.org; Sat, 13 Jun 2020 07:01:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk3ub-0003rj-O3 for guix-devel@gnu.org; Sat, 13 Jun 2020 07:01:22 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:35421) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jk3ua-0001lX-5S for guix-devel@gnu.org; Sat, 13 Jun 2020 07:01:21 -0400 Received: by mail-qk1-x734.google.com with SMTP id n141so11471981qke.2 for ; Sat, 13 Jun 2020 04:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SmPQb0Kr69Rz6HxL/RCs8cyCBFpamW+qxUFaqt0FfK8=; b=R5gq2VAcCxuCwwHh0OrjF1WP3JpZJJfSdwjDFsB1PXgvdBPpeOlgNHHcSDWqvDHtMo QbLaSRGxYYFlpK+7hXqLWA2lqj6vYO4l69og/YwidFlFv4tsIRXk8V19kcXIi8yrVWzT 7Q7CjS3CyZfDKefBTUgreWvixmplaLMjaJUGaMaCdtELaG+9QidBPPgo8Y820Ssv+WFU GZGW4f1VrJ+/lN4mZLofG5zc5tqeXSbrlDO5W6WwqrZLVfkj9wafftwJVd4+3S4zZq1t 3L0H/MlhDMSXR6CNlgn2emcxQrpKfRi96EMsZQwXBqCxynrlXhcqVoUrmAE0Wgqg3DNj lUbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SmPQb0Kr69Rz6HxL/RCs8cyCBFpamW+qxUFaqt0FfK8=; b=tZwUuXmxJIEBX//Hagld6RCtgWdT87T+aH30Ss2GbyJ8BheT6wzn1gLq2bGf4rcahG z0NJHqxyOeMd9PWuw6B2K/oBABiKMO44Iy5AzBhiXFsiJXzeZ06NSZr3Idszaz0lwyqV NWO3GhSYKzbG0wKnBvL6btiJYm/yaSUKSBVtRXxZeNj9/GwwN5oo+QDHZOFjiIL+DGSa S6mnunW1aOVnU42yDOP3oEQuLpfVMe8N06s0kReJBXrMoDkcaR7MXGujgU20eHpklpPO n4A0qbG9jsXNcl8xsITRTLO/VgnyYS0C5Y6/0cR7fhd6i4arNaznZRNGgbfORGG06Zd/ nvwQ== X-Gm-Message-State: AOAM533QOhcfJa8NXaCjeqW2oD/z8Zi1pNaN3jE+KncWK49/yBouOVee Xujw0JvwaNB5EWzynEg8Y0eGuEf8ra/WB62TQSwNJa28 X-Google-Smtp-Source: ABdhPJyTmRgkvA/FhqmV5XwJf7QJGzGkYY/GL8eo7fsBuFIffyMMUKkpwNEiGOuMrCgLGkAqwITFSqh1FzwQEe6hCsc= X-Received: by 2002:a37:4b88:: with SMTP id y130mr7041452qka.80.1592046072672; Sat, 13 Jun 2020 04:01:12 -0700 (PDT) MIME-Version: 1.0 From: zimoun Date: Sat, 13 Jun 2020 13:01:01 +0200 Message-ID: Subject: (propagated) 'inputs' depends on 'outputs'? To: Guix Devel Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x734.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=_AUTOLEARN 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=R5gq2VAc; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -0.71 X-TUID: yiE/Sf47QwTn Dear, My question is: is it possible to specify 'inputs' only for specific 'outputs'? Well, I think that the answer is no because build-time vs install-time but I could have wrong and/or someone could have a fix for me. :-) As an exemple, give a look at the package "git". Because it has several 'outputs' ("send-email", "svn", etc.), the list of "inputs" provides e.g., "subversion" even if I am only interested by "git:send-email". This matters about closure (bandwidth, rebuild, etc.). I do not have an example at hand, but I think that if one package has 2 outputs '("out" "doc")' and the documentation requires heavy TeX then I cannot work only on the "out" without downloading all the documentation dependencies, i.e., guix environment foo could eat all my resources even if I am not interested by the documentation part. Another example is the package "emacs-helm-bibtex" which propagated both Helm and Ivy completion backends. Well, for example if the 'outputs' list is '("out" "helm" "ivy")' then the user could install only the Ivy backend with: guix install emacs-helm-bibtex:ivy without propagating the full 'emacs-helm' package. Well, from my understanding, the way is to create another package using 'inherit' and remove the unnecessary part and then install with: guix install emacs-helm-bibtex-ivy And same strategy the former Git example. Well, it is already possible to test of some variables and set different inputs, See for example the package 'ncurse'. Hopefully it is possible because it is intensively used for cross-compiling. :-) Thank you in advance for any tips. :-) All the best, simon