unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68628: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS
@ 2024-01-21  0:05 msglm via Bug reports for GNU Guix
  0 siblings, 0 replies; only message in thread
From: msglm via Bug reports for GNU Guix @ 2024-01-21  0:05 UTC (permalink / raw)
  To: 68628

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@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).




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-21 11:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-21  0:05 bug#68628: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS msglm via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).