From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CFblNHAinWE4HwEAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 18:18:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2FGCMHAinWHLbAAAB5/wlQ (envelope-from ) for ; Tue, 23 Nov 2021 17:18:40 +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 88B8912C71 for ; Tue, 23 Nov 2021 18:18:40 +0100 (CET) Received: from localhost ([::1]:44752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpZRH-0002yO-Of for larch@yhetil.org; Tue, 23 Nov 2021 12:18:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpZQt-0002wI-Ib for guix-devel@gnu.org; Tue, 23 Nov 2021 12:18:16 -0500 Received: from [2001:470:142:3::e] (port=54748 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpZQr-0001yg-Oh; Tue, 23 Nov 2021 12:18:13 -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=QE0HjfTaNarja/iSCbxXlnpSU8vM5cntJE6+7PvzS4M=; b=i+xFK3KpFxSR8AfJV6Nr C8UitEZRqqF59NDY+vhwD0EpXeFUUAeDY8G0y3qJqtxtkT8Bx/+FvaiBCbWQ68j7Ckt6e3rhLofN6 5wUL5KHW+/mw/YCjRJlg/ICDWB8+P12kF/y4c/HwBOQiEcp1D4Q6Yubs4W0TqcfwpzdtiUnDb1ynd Wl+X0e0LbtizIXwsNC6jAnspUyiFDB4xcRRZ+jEI7rU3/03h7kl++4WCtqZzq6fGF7EiHuWX7HCUM IgFDb3dWm/f3V9DVn0Vhh54ht0ktGaJB3SFtxrTzag9TuA0TJrx259La5EamzN/iyA9sCZnM10Wp1 MRZlLlfBqNIVHQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51119 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpZQr-0005Vh-IS; Tue, 23 Nov 2021 12:18:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: Replacing polkit by polkit-duktape on core-updates-frozen ? References: <87k0hetuty.fsf@gmail.com> <2505829.NYjHvEFHQz@popigai> <87v90rxcnr.fsf@gnu.org> <87mtlwc175.fsf@gmail.com> <87a6hwnwqn.fsf@gnu.org> <871r37c48o.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Frimaire an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 23 Nov 2021 18:18:10 +0100 In-Reply-To: <871r37c48o.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 22 Nov 2021 15:41:43 -0500") Message-ID: <87lf1eiyel.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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 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=1637687920; 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=QE0HjfTaNarja/iSCbxXlnpSU8vM5cntJE6+7PvzS4M=; b=jNT1hEqUaRs4BNb56I03cMvSQjvQkNKpejqsFOt6aUZtlMo92DdvTo20b1CI7K+HyhYAsQ YCv0yRh1h441FBf/lzrpaSqezh4pXHdYNoFgXqGiwKTzlcUO1VTLR1XDg95xknCYAK71UF 9Vyhc3TjY3qeMwWpFPj6jgAuNL+wHqBnRj5AOh07eQGLJl9LywvqpkEeLtU0heBrZLmCt9 H3BZvagn4LRgbCBontkDn53zYmFObka1i15dzRFFoPvXO6KWXXoL/vCWfj45C3rPpSw0/U 8Nz8bLqGLsiXe78jj0KlUhxOlgIe/OqAoTZOKtjOn1s4Y7Nq1jumA+pUyT07qA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637687920; a=rsa-sha256; cv=none; b=W4RQPXGI75CTxiP6NDrPVXcqitkVu1BgK4ZSAl5xIWReMrUA87rpBJERMmqs1Ll9ou4C8q 60SR0xsohWl5zQL43vlVcjkyhCayp1eV03S+BA+0aL+0jIC5Tfn1oedU1LEt8jYZT9KO5d Kp+9lE9tS0kiKZz+QE08QMzZBVlXXpuLgHvTc725xqDBPyLp0S2OZweu2t/vzm3WScvK13 lDS+FUuijBcBDBNqFHwNB72Egleun8pw9qEkO/vJ9Q5+se7H2imMOMxBX/LC4ITGggvvoM F3a4xfoR09+GLtThOhZm3fTkL/Rb74ZBJFHAxuDApu27YOsuu5E1raHakJ+PmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i+xFK3Kp; 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: -4.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i+xFK3Kp; dmarc=pass (policy=none) header.from=gnu.org; 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: 88B8912C71 X-Spam-Score: -4.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: S4R9AoBY4FoW Hi, Maxim Cournoyer skribis: > gnu: polkit: Define polkit package variable based on architecture. > > * gnu/packages/polkit.scm (polkit): Rename to... > (polkit*): ... this. > (polkit-duktape): Adjust to inherit from polkit*. > (polkit-for-system): New procedure. > (polkit): New variable. LGTM! > But my "test" fails the same: > > $ ./pre-inst-env guix build --system=3Daarch64-linux \ > -e '(@ (gnu packages polkit) polkit)' -n |& grep polkit > /gnu/store/dw11y85xfsb8hcg7w2cw57f1xfs4i74m-polkit-0.120.drv > /gnu/store/ric7yf4ra2p14p29fwsh18m1nakciakv-polkit-0.120.tar.xz That=E2=80=99s expected because here you=E2=80=99re effectively calling (%current-system) from the top level, and that=E2=80=99s x86_64. A good test is to try and build one of its dependents: guix build -s aarch64-linux gnome-control-center -n should list polkit-duktape. HTH! Are we done and ready for merging once this patch has been applied to =E2=80=98core-updates-frozen=E2=80=99? Thanks, Ludo=E2=80=99.