bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68628: `guix pull` fails due to with-grafts in GUIX_BUILD_OPTIONS


From: msglm
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@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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]