`guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS

  • Open
  • quality assurance status badge
Details
One participant
  • msglm
Owner
unassigned
Submitted by
msglm
Severity
normal
M
(address . bug-guix@gnu.org)
CYJXS0IVU6FF.1CP9ZX63Y1TNP@joybuke-desktop
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).
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 68628@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 68628
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch