From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WOHZAJE/OWG+bQAAgWs5BA (envelope-from ) for ; Thu, 09 Sep 2021 00:56:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GLyKN5A/OWFQEgAAbx9fmQ (envelope-from ) for ; Wed, 08 Sep 2021 22:56:16 +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 99E5E262F for ; Thu, 9 Sep 2021 00:56:16 +0200 (CEST) Received: from localhost ([::1]:40534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mO6UJ-0000OU-P7 for larch@yhetil.org; Wed, 08 Sep 2021 18:56:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mO6Tt-0000ND-AT for guix-devel@gnu.org; Wed, 08 Sep 2021 18:55:49 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:52940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mO6Tr-00032N-GS; Wed, 08 Sep 2021 18:55:49 -0400 Received: by mail-wm1-x344.google.com with SMTP id e26so2902189wmk.2; Wed, 08 Sep 2021 15:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=j+YJezythJ5Gxj1OcNBHgqOx4+016DzRpfV6TsHPbq0=; b=j92B9TTnBmCGuJlsVfXSlbVhY2GdgCdSLlTRaV8+t0Q3k+cSsX/NCxY4fX6VFyWhwX bhDT94sB5NILL47//T826T8SOtzcmHAMbl4zz/3hvXD6U0I3yiaSARfQpDsf1yYByEzk cqhe6xEi37QtxTFYdZoPnxjAeN1+/xY+Ci0D/jRDSH3srwjjxOf5vj6FflBMECS/0a9a ZX2UKLaCgdEE5hU0AJqHrD5BuBEFU7AYS87KtYNEpA7rboJ+sQzpMBnaS7lDS8kYFDNs hgZGblcmJYe5SiWep/94jL//9qnGjFRBO6cOKK6ZcUsfFdYlonjDETQBy4Ie9MX/VSxb qdyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=j+YJezythJ5Gxj1OcNBHgqOx4+016DzRpfV6TsHPbq0=; b=Y2Xfl3MV2+WPvfJ2D26836Zz+3zglyUERwe56OltMWe0Dc1vQScqHYP8zZ8t6g+qUh fuwCS9ga8pzjhPo8PTm0dakeWecF1PWKvtvXhS2la1bQeL3P1Cn0qag57bGOSv1mKqlb Uice6gQOj8zf3l3IkQ3WtypL6DKJzHV36B4zMzRvqMPMiZvfNegWnGHiWNZH68IKrtvL xzl3ADtK8doHrKH+VVUkq7r7G1zZvJfLhyLb3WsFIoqAWX0EtPz3MQdGB0MQK51FXJGA iw1CE4tMbb3hC8z1SWPKqr/9yXCh/QoBPcb5OnFz1zCvD0jSeW3EoNuLk2xpUBYOD2x4 9+DQ== X-Gm-Message-State: AOAM532sNGb6kYCZ3Q4qdXKxYr8iuYwFBRDgzc4SncBfkSckMa2+yHV0 yXSX0DgD8pvGqElvgialNSYxmreDsDs= X-Google-Smtp-Source: ABdhPJwCV4EyAm7tLVwrs3zN6NGHoMqA7SzRBu63NUnCFyoWogs/d/6V6BxmwaoAiZ6kTYdYjwvyKA== X-Received: by 2002:a1c:1d88:: with SMTP id d130mr470596wmd.161.1631141745711; Wed, 08 Sep 2021 15:55:45 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id o12sm3269089wmr.2.2021.09.08.15.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 15:55:44 -0700 (PDT) Message-ID: <7a8288c3353932507461241b96658c2224a78bf6.camel@gmail.com> Subject: Re: Rethinking propagated inputs? From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Maxime Devos Date: Thu, 09 Sep 2021 00:55:43 +0200 In-Reply-To: <87y286g1j1.fsf@gnu.org> References: <045891c151c74e0d66d91973c9e55e0194272df5.camel@gmail.com> <87y286g1j1.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x344.google.com 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: 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: , Cc: guix-devel@gnu.org 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=1631141776; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=j+YJezythJ5Gxj1OcNBHgqOx4+016DzRpfV6TsHPbq0=; b=m/Cb0FJF3i4ykQhQskeeQTO+FOFQvpCVMZJ8HGAe/zrTjKsmHEKqwOYvMFLIp51myNdwrl jKYOgTEXxqlMHyYpZR5A4SGa2izXAy8BniOvgbn8MX0oYozPqFryfPC/JwlXkbAboLTFar pYjWYJ6nSLfXm0hfQoForLce+8ffH5RsGLX2f84M5lyycWN+bklQVYbJ1eBtzZ+mbJaAIn HddGYX8arufrPfhDS241CiYhGuQR9KEvH6AW1ens9U8Emajs7p5TwkVaaZw1Pmo+7XIrZ/ m6TmNJUVph09mIIMuQKa01HK9ec2O7mas16Gxnz8nYsgpciamEeAZvOJrvHKSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631141776; a=rsa-sha256; cv=none; b=mdHc/hWsDN2xhJiq/FjRKGL7tmB42PKbIfr+77dCdWgBSs+YjUfjppBSQ0ZKCuYeVDVs5A tgfgRPisTDt+zb7YatzAn69ZIVYwqOyT8uMJCrL5IoyNEF9xoDyMiNVtX+tnNuXKTnEC6d 8fDBKwyrTTTbWSSbNKNBzQkEkhFkEQUprKBGAyRMidSxZk59ruAWTT1kmsn81k9af/flB3 GebzQlxUqUJYX2lRjwFr9k1jnxiC1cCWSXP/ReljRzM3O3fBagiQ/qSXU7gFCmgxOwgu1R XkdDimaHCXGvQeuo9zoII0jJr3ugV0KCs0Nnc9efYL4fD5JHYRu+5IH4ywkDFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j92B9TTn; 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-Migadu-Spam-Score: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=j92B9TTn; 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-Migadu-Queue-Id: 99E5E262F X-Spam-Score: -2.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: wDTLiIFICGop Hi, Am Donnerstag, den 09.09.2021, 00:12 +0200 schrieb Ludovic Courtès: > Hi, > > Maxime Devos skribis: > > > For packages using pkg-config, I had the following scheme in mind: > > As a reminder to everyone, pkg-config is just one of the reasons for > propagating inputs, probably not the main one numerically speaking. That is true, pkg-config propagations are merely closest to the "core" of Guix and thus (have the potential affect to) larger parts, whereas other forms are typically – though perhaps not necessarily – limited to some language ecosystem or similar. > [...] > It would be great if the ‘Requires’ field of .pc files could specify > absolute file name; it would no longer be necessary to set > PKG_CONFIG_PATH, and thus propagation wouldn’t be needed in this > case. In that regard, would symlinking other pkg-config files as proposed somewhere in passing in [1] also work? We would have to add a phase, that parses the Requires field from installed pkg-config files, and then symlinks the respective files from the inputs to gnu-build-system, but since they would then exist in PKG_CONFIG_PATH and point to the library in question, theoretically we could get around this limitation of pkg-config without requiring propagation. > Regarding outputs, Nixpkgs introduced a “dev” output a while back > that lumps together our “lib” and “include” outputs, roughly. I > think that’s a good idea (for other reasons too). Naming-wise I'd still prefer the more concrete “lib” as “dev” to me is a weird umbrella term that doesn't really tell me what I'm getting (also it probably contributes to the distinction of users and devs, and as some distros like Debian have demonstrated often becomes pointless[2] the minute you introduce language bindings which require dev inputs anyway). As far as the lib/include split in Guix is concerned, there appear to be few packages that split them, so “lib” effectively is “dev” in Guix when “out” isn't. So apart from those outliers, is there something our “lib” outputs are missing that Nix' “dev” outputs include? Regards [1] https://yhetil.org/guix-devel/997473f47b882a670e4b9bf6fe3fc66e66ba6911.camel@gmail.com/ [2] Pointless in the sense, that “users” need to install those “dev” packages anyway if an application requires them. Consider for example a Guile application built on guile-git, which therefore requires libgit2-dev to be installed.