* [bug#43436] [PATCH 0/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.
@ 2020-09-15 22:15 zimoun
2020-09-15 22:17 ` [bug#43436] [PATCH 1/1] " zimoun
0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2020-09-15 22:15 UTC (permalink / raw)
To: 43436; +Cc: zimoun
Dear,
It appears serveral times that I am confused by the transformation
"--with-source" where the CLI reports:
--8<---------------cut here---------------start------------->8---
guix build: warning: transformation 'with-source' had no effect on
--8<---------------cut here---------------end--------------->8---
because I use "guix build --with-source=path/to/archive" where
'path/to/archive' does not match the package name. Then "guix build -h" says:
--8<---------------cut here---------------start------------->8---
--with-source=SOURCE
use SOURCE when building the corresponding package
--8<---------------cut here---------------end--------------->8---
and all the others transformation options says:
--8<---------------cut here---------------start------------->8---
--with-input=PACKAGE=REPLACEMENT
replace dependency PACKAGE by REPLACEMENT
--with-graft=PACKAGE=REPLACEMENT
graft REPLACEMENT on packages that refer to PACKAGE
--with-branch=PACKAGE=BRANCH
build PACKAGE from the latest commit of BRANCH
--with-commit=PACKAGE=COMMIT
build PACKAGE from COMMIT
--with-git-url=PACKAGE=URL
build PACKAGE from the repository at URL
--8<---------------cut here---------------end--------------->8---
All the best,
simon
zimoun (1):
guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.
guix/scripts/build.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.28.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#43436] [PATCH 1/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.
2020-09-15 22:15 [bug#43436] [PATCH 0/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option zimoun
@ 2020-09-15 22:17 ` zimoun
2020-09-21 21:15 ` bug#43436: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2020-09-15 22:17 UTC (permalink / raw)
To: 43436; +Cc: zimoun
* guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
in '--with-source' option.
---
guix/scripts/build.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 25418661b9..4592f23f26 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -427,7 +427,7 @@ a checkout of the Git repository at the given URL."
(define (show-transformation-options-help)
(display (G_ "
- --with-source=SOURCE
+ --with-source=PACKAGE=SOURCE
use SOURCE when building the corresponding package"))
(display (G_ "
--with-input=PACKAGE=REPLACEMENT
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#43436: [PATCH 1/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.
2020-09-15 22:17 ` [bug#43436] [PATCH 1/1] " zimoun
@ 2020-09-21 21:15 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-09-21 21:15 UTC (permalink / raw)
To: zimoun; +Cc: 43436-done
zimoun <zimon.toutoune@gmail.com> skribis:
> * guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
> in '--with-source' option.
> ---
> guix/scripts/build.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
> index 25418661b9..4592f23f26 100644
> --- a/guix/scripts/build.scm
> +++ b/guix/scripts/build.scm
> @@ -427,7 +427,7 @@ a checkout of the Git repository at the given URL."
>
> (define (show-transformation-options-help)
> (display (G_ "
> - --with-source=SOURCE
> + --with-source=PACKAGE=SOURCE
I added square brackets because PACKAGE is optional.
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-21 21:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 22:15 [bug#43436] [PATCH 0/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option zimoun
2020-09-15 22:17 ` [bug#43436] [PATCH 1/1] " zimoun
2020-09-21 21:15 ` bug#43436: " Ludovic Courtès
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).