From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YGe5C4/f9WOYXwAAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 10:25:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OD+lC4/f9WP5RwAA9RJhRA (envelope-from ) for ; Wed, 22 Feb 2023 10:25:35 +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 075D17BA1 for ; Wed, 22 Feb 2023 10:25:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUlN7-0003pO-OY; Wed, 22 Feb 2023 04:25:09 -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 1pUlN0-0003l1-JG for bug-guix@gnu.org; Wed, 22 Feb 2023 04:25: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 1pUlN0-00019L-6T for bug-guix@gnu.org; Wed, 22 Feb 2023 04:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUlMz-0007yG-Ll for bug-guix@gnu.org; Wed, 22 Feb 2023 04:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61676: package transformations not honored working from a manifest Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 22 Feb 2023 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61676 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 61676@debbugs.gnu.org Received: via spool by 61676-submit@debbugs.gnu.org id=B61676.167705785330559 (code B ref 61676); Wed, 22 Feb 2023 09:25:01 +0000 Received: (at 61676) by debbugs.gnu.org; 22 Feb 2023 09:24:13 +0000 Received: from localhost ([127.0.0.1]:57973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUlMA-0007wk-9E for submit@debbugs.gnu.org; Wed, 22 Feb 2023 04:24:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUlM5-0007wC-1l for 61676@debbugs.gnu.org; Wed, 22 Feb 2023 04:24:08 -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 1pUlLz-00011L-Ll; Wed, 22 Feb 2023 04:23:59 -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=cN7h3xdK2uU2HK8JF44JSGR7zMTok++fIgISQ2or/Ek=; b=Y6VfCTBsUXcmcqYvpOle /D9Hi9jQB0e4igcEaubB3AEKLdn0fygAX0cLv+/2eezGezC1S36grj28lqh7KOuKRIdsSgAYRGpS4 xZ9PAZQGTqBtbbxpiKcFN93M7F3ypeW+Cv08C7V7q6WQbRo7lnx6sRDW7PfHup2N+LFN76E/9Q8RD JEHMFGmdBhSQYuZuOKmeT5cn2j22kNT2X3khQXf1gkAEFpQ+jcQojSGjfSd0RXI+cyclxeulSdJZF UD+estNXurNNksoZJzyV3O6s45QGyHGinXNmi5vN6h/4D6MLwyiuHGgwQcfYT70TPaKQwKt5s2es9 LKlw4JO9MEjxOw==; 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 1pUlLz-0007OK-5j; Wed, 22 Feb 2023 04:23:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mt57jgns.fsf@gmail.com> <87r0uid474.fsf@gnu.org> <87v8juebrb.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du =?UTF-8?Q?Tro=C3=A8ne?= 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: Wed, 22 Feb 2023 10:23:55 +0100 In-Reply-To: <87v8juebrb.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 21 Feb 2023 20:20:56 -0500") Message-ID: <87edqi9hp0.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: 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677057935; a=rsa-sha256; cv=none; b=Td+JWy7iNy8zfqJXDLKplm9Bxd4ZHxEwZCSQbE4DvqI9bORo4uEbPSDrbYcxzCRwPGmCjS jwgYgWthJdmr/tGW935azfJyk4Qm4SgHEY2ogp2aOf/LvrXovaJSuIOlOWkKK6BoFEiZdf 3AnbTVq7ozLvdeUoskWJh7u423ZaOYbuVTGjys9lbJEb2wvuA0lNBknuypM0wTeQ+KV5H9 Ujt864a/G0V7cHVYw7X+6DsBbvZoUbFsK00aVp8vSEhr2HXSeYYeG0gyxUImkbq+P/1WEs eMz94JzSdjwQz0x6cizNK9ERQGvhhFrYy2Y7P4sw51rRLajPmzeaD30FriED3g== 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=Y6VfCTBs; 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=1677057935; 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=cN7h3xdK2uU2HK8JF44JSGR7zMTok++fIgISQ2or/Ek=; b=k+aaRKFQkYrzPlyNnKvGkxbEvAON5OKlVOHZKsUEWfn8i8t55Ns2c51ed5MxojkU8pQKpq Bj6OUTL4BdR/MaD1hM38w0aKeuACGCP57eMBbO0IszcObEcC4QTRXn+4yqQTQ3Cw6QFNeP E3AmxkwyC0y2lVMawy0LQDu/Bxw2WueuUCFMky4SXZcME+T29SbuIcJtjCEGbKqURJI05N iC7sIBrXSdw8SlVHYZX+iFt1W4TBTUKaP34M37Wrasn0UuHrbQVTcDATJI6nZJqhIz1Srp z2xAdafySKSs9LKK+5rXIY9AQBIIap5X/4O9C+2sNYW6SY83691HXRV3Edvk1A== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Y6VfCTBs; 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 X-Spam-Score: -4.06 X-Migadu-Queue-Id: 075D17BA1 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.06 X-TUID: uxqNPloGwge7 Hello, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > > [...] > >>> But noticed that --with-source and --with-patch were not effective for >>> the jami-with-certs customized package provided by the >>> guix-pack-manifest.scm manifest. >> >> Indeed, that=E2=80=99s expected. >> >>> It seems to me that the rewriting options should be honored on any >>> packages being manipulated, whether they come from the Guix collection, >>> a file, a manifest or another means. >> >> I=E2=80=99m not convinced; I think manifests should be interpreted liter= ally. > > Perhaps I do not have the full picture in my head, but if someone calls > 'guix pack -m my-manifest.scm > --with-source=3Dsome-package=3Dthe-source.tar.gz', it'd seem the > --with-source option pretty useless in this case if it doesn't touch the > manifest's packages graph. It'd rather it error out with a message > like: "package rewriting options have no effects for manifests", > although I'd rather it was possible. > > Is there another alternative for the use case I'm after? The only other > option available seems to be to extend the GUIX_PACKAGE_PATH with a > module and to use -e '(@@ (my module) jami-with-certs)'; would the > jami-with-certs graph get rewritten then? How about using transformations right into your manifest? Would that work for you? There=E2=80=99s a one-to-one mapping from command-line options to =E2=80=98options->transformation=E2=80=99 (info "(guix) Defining Package Va= riants"). Ludo=E2=80=99.