From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uCqAENJgA2SLSQAAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 16:16:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4BGKENJgA2R4JQEA9RJhRA (envelope-from ) for ; Sat, 04 Mar 2023 16:16:34 +0100 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 1D9C1E623 for ; Sat, 4 Mar 2023 16:16:34 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fzT4OzaV; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677942994; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b47ay3h+IVD/0xO7LkpWHe+1mvO80vxnQXpjBFbjvIE=; b=EAZQWVX5zCJhAJqGUmLl+jR0uBBNFWqfky6iGRcHbEYq73O+FVDEdOvDAulY1CHilOh+Ub Wcun7qlPAguF+HjrOUJFJcaJXpUBPINxIWoz4nAh0GovuHZ5qPgy9zIZpxhhzLJMjOyowx FkGhQW1IREj7wZ9K24vVemxM6CDv57YRGEQFLIldGqmjmARGj7E1Q6Mv2gqrB2CrQKnynw cr5kU0WxDLSbQvzkjl908PAQ9DwJPni9rVPuL+77F428vv7XDhx8hjoq4SpThmhMh0KZiS 93b48Nou8Z8fj8lud6LSmciZMDdV2z47oQxZ+oqlHJmp6JbZzEQ4Uj9JJtpHVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fzT4OzaV; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677942994; a=rsa-sha256; cv=none; b=jy2TkNoHyIGdVJgAWg7RqO8z46hUtbWbDJBd+DdNxnE7arxZZDgb/sQl9wJ2/49x0tq0cw 4i8Jt2P691WfyHnG23zguvzGa0Q9oZb31pnbo0+w0jlz/rr+F9/00XG5VB0InedBsWcObp UZfaIS9CJDNQmrhXETKgXad9W5tuMGA6OCUW4kKmMf5O3PJ7qTFQ9jIfGFy37B1F/rJOFQ FVKSuoGBnyA04hoap96uQED8EoWtc0mmX0lWZ98i++hwxOYdQyH7jaBcMuXN76o1M7ywbd DXVb5V4yJPGl9p7gatd1Arq6ypHCk9wlZzzdnchOVg/Ahw/zCK+8igzAIMpmmQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYTcD-0000Y3-De; Sat, 04 Mar 2023 10:16:05 -0500 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 1pYTcB-0000XJ-Bj for bug-guix@gnu.org; Sat, 04 Mar 2023 10:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYTcB-0006hw-3Q for bug-guix@gnu.org; Sat, 04 Mar 2023 10:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYTcA-0003PZ-Tj for bug-guix@gnu.org; Sat, 04 Mar 2023 10:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#50335: Inheritance vs. =?UTF-8?Q?=E2=80=98this-package=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Mar 2023 15:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50335 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50335@debbugs.gnu.org Cc: philippe.swartvagher@inria.fr Received: via spool by 50335-submit@debbugs.gnu.org id=B50335.167794296013090 (code B ref 50335); Sat, 04 Mar 2023 15:16:02 +0000 Received: (at 50335) by debbugs.gnu.org; 4 Mar 2023 15:16:00 +0000 Received: from localhost ([127.0.0.1]:37466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYTc8-0003P4-F2 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 10:16:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYTc6-0003Os-Mj for 50335@debbugs.gnu.org; Sat, 04 Mar 2023 10:15:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYTc1-0006hT-ES; Sat, 04 Mar 2023 10:15:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=b47ay3h+IVD/0xO7LkpWHe+1mvO80vxnQXpjBFbjvIE=; b=fzT4OzaVpTWGORiN5NkI wbcjftKOajF1t/6VmOCsMZSat8DBglosr0uEhgqqHU9ru3wu3k7GmFTukG3lLjw51BdCoHI91JaxH AN1KsW5CQA1xjDu4qj4a0/+fu5tmcVN9qSABwrcrFFqBeilwKbLz7QZFo+3vQkJcDgVylpchkRHjO aVsBgJzUrq6UtdVL1OGSALG8mgtW2otyMnVmT00kAPA/5AEQi2R1B8UYobBvsyUWWoQgbRM9fMFxd 5Cev9bJ97JGcALCGDl8aIIzgFfA6ukM/Qv6oI68RtTOQ1n+kyOlKItX38ViZPnugyUA2vE/6M4BDB SR7XmVUOh4TXyw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYTc0-0007Jz-VI; Sat, 04 Mar 2023 10:15:53 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r1e73x78.fsf@inria.fr> Date: Sat, 04 Mar 2023 16:15:50 +0100 In-Reply-To: <87r1e73x78.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 02 Sep 2021 15:48:27 +0200") Message-ID: <87a60stumx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -4.40 X-Spam-Score: -4.40 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 1D9C1E623 List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: qNAiYEHR+BU1 Ludovic Court=C3=A8s skribis: > We stumbled upon an idiom for package arguments that, combined with > package inheritance, would not work as expected. [...] > We don=E2=80=99t want to (package-arguments this-package) here: that would > naturally lead to an infinite loop. But we want something close to it, > in spirit: (package-arguments parent), where =E2=80=98parent=E2=80=99 is = the package we > inherit from. > > (package-arguments parent) could call the =E2=80=98arguments=E2=80=99 thu= nk of the > parent, but it would pass it the child as its argument. Here=E2=80=99s an example where I ended up manually defining =E2=80=98paren= t=E2=80=99: https://git.savannah.gnu.org/cgit/guix.git/commit/?h=3Dcore-updates&id=3D= 0aed5bf5120bd434e53be0cea3f96547f95837d6 Ludo=E2=80=99.