* Change the '--with-source' flag to use the syntax `--with-source=PACKAGE=SOURCE`
@ 2020-06-17 13:17 pkill9
2020-06-19 21:21 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: pkill9 @ 2020-06-17 13:17 UTC (permalink / raw)
To: guix-devel
I propose changing the `--with-source` flag to use the syntax of
similar `--with-...` flags such as `--with-commit`, e.g.
`--with-source=PACKAGE=SOURCE`, because currently you need to
change a file to match the form "package-version.extension`, and it
searches the package graph to find the package to replace the input
with. It's annoying having to download a source file and change it's
filename just to have it work with this flag.
It would also be more consistent to match the syntax of the other
flags. To illustrate, this is the section of `guix build --help` that
shows the syntax of all these `--with-...` flags:
```
--with-source=SOURCE
use SOURCE when building the corresponding package
--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
```
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-19 22:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 13:17 Change the '--with-source' flag to use the syntax `--with-source=PACKAGE=SOURCE` pkill9
2020-06-19 21:21 ` Ludovic Courtès
2020-06-19 22:56 ` pkill9
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).