From unknown Tue Jun 17 20:14:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68628 <68628@debbugs.gnu.org> To: bug#68628 <68628@debbugs.gnu.org> Subject: Status: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS Reply-To: bug#68628 <68628@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:37 +0000 retitle 68628 `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS reassign 68628 guix submitter 68628 "msglm" severity 68628 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 21 02:51:52 2024 Received: (at submit) by debbugs.gnu.org; 21 Jan 2024 07:51:53 +0000 Received: from localhost ([127.0.0.1]:36475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRScS-0006Vc-1A for submit@debbugs.gnu.org; Sun, 21 Jan 2024 02:51:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:33058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRLLT-0007KC-OC for submit@debbugs.gnu.org; Sat, 20 Jan 2024 19:05:55 -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 1rRLLK-0008J7-R9 for bug-guix@gnu.org; Sat, 20 Jan 2024 19:05:42 -0500 Received: from techchud.xyz ([2001:19f0:6401:770:5400:3ff:feee:3207]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRLLI-0001wV-Ps for bug-guix@gnu.org; Sat, 20 Jan 2024 19:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=techchud.xyz; s=mail; t=1705795535; bh=iPJHPqF0WfbxBj09UB6OClQRdLuKUpGkFIVO7CPxnnE=; h=Date:Subject:From:To:From; b=FppsiGzcDLXOpF2GeYdN4zrsDOfgSx9RoXlld1D1KynZL43EluIuuTYRhEwslwAnJ a28M3zCC2kDDjNfvwWJjIiYTCiPd+FCF/taQ0S8nqbXB8dU3RB8UgArYuyyH69Gz91 ObxOO8z1n8DVaJU8EgY+O4w7hAXFTE3c74TJGsUprSOGM5PePI//YY1AROVLt/U9GA OvXuwhS6EMRr0emy9P5ioHnGWK9/a+cONzKtIBjCNEmMRZO4YDThRnSqKxfFO2G1iL CcQPar6zhPS9v5qKsU5QYk2d4TtJsD27zi8scV0ozS2kiO1/WFpxoHLPGzbVnVPMN7 kCR0sNEL5iG8A== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 20 Jan 2024 18:05:33 -0600 Subject: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS From: "msglm" To: Message-Id: X-Mailer: aerc 0.15.2 Received-SPF: pass client-ip=2001:19f0:6401:770:5400:3ff:feee:3207; envelope-from=msglm@techchud.xyz; helo=techchud.xyz X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 21 Jan 2024 02:51:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) When I invoke `guix pull` when `GUIX_BUILD_OPTIONS` contains a call for `--with-graft`, `guix pull` fails due to `with-graft` not being a valid option for `guix pull`: Command-line transcript: guix pull guix pull: error: with-graft=3Dgnutls=3Dgnutls@3.5.4: unrecognized option Having `guix pull` ignore `GUIX_BUILD_OPTIONS` may be a hack fix, but it could break other people's workflows since `guix pull` has some options for building (i.e: `--cores` and `--no-grafts`). Suggestions: Adding `with-graft` support to guix pull (if that's even applicable).=20 Having guix-pull just ignore the option and return a warning.=20 Split up GUIX_BUILD_OPTIONS into a per-command set of flags (i.e: GUIX_BUILD_OPTIONS_PULL).