GNU bug report logs - #68628
`guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS

Previous Next

Package: guix;

Reported by: "msglm" <msglm <at> techchud.xyz>

Date: Sun, 21 Jan 2024 07:52:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "msglm" <msglm <at> techchud.xyz>
To: 68628 <at> debbugs.gnu.org
Subject: bug#68628: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS
Date: Sat, 20 Jan 2024 18:05:33 -0600
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=gnutls=gnutls <at> 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). 
Having guix-pull just ignore the option and return a warning. 
Split up GUIX_BUILD_OPTIONS into a per-command set of flags (i.e:
GUIX_BUILD_OPTIONS_PULL).




This bug report was last modified 1 year and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.