* help for guix pull
@ 2017-08-18 8:54 Adrien Marin
2017-08-18 18:36 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: Adrien Marin @ 2017-08-18 8:54 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
Hi,
I've some trouble with guix pull use:
i have cloned a guix repo to had my package in gnu/packages in order to have them in 'guix package - A' list.
before guix 0.13, I used guix pull like this :
> guix pull --url="http://gitlab.com/my-acount/my-repo/repository/archive.tar.gz?ref=master"
but know it doesn't work anymore.. guix pull do not use tarball anymore
you can see at this commit : http://git.savannah.gnu.org/gitweb/?p=guix.git;a=commit;h=59a16275189f55ddd692b0ea5b415c706fa1fd69
The use of guix pull change but it doesn't change in the manual...
It's why i need some help to know how to use guix pull with its options --commit and --branch
thanks for yours future answer
[-- Attachment #2: Type: text/html, Size: 1369 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help for guix pull
2017-08-18 8:54 help for guix pull Adrien Marin
@ 2017-08-18 18:36 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-08-18 18:36 UTC (permalink / raw)
To: Adrien Marin; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1943 bytes --]
On Fri, Aug 18, 2017 at 10:54:10AM +0200, Adrien Marin wrote:
> Hi,
>
> I've some trouble with guix pull use:
>
> i have cloned a guix repo to had my package in gnu/packages in order to have them in 'guix package - A' list.
>
> before guix 0.13, I used guix pull like this :
>
> > guix pull --url="http://gitlab.com/my-acount/my-repo/repository/archive.tar.gz?ref=master"
>
> but know it doesn't work anymore.. guix pull do not use tarball anymore
>
> you can see at this commit : http://git.savannah.gnu.org/gitweb/?p=guix.git;a=commit;h=59a16275189f55ddd692b0ea5b415c706fa1fd69
>
> The use of guix pull change but it doesn't change in the manual...
The manual does document the new options, but the copy of the manual on
our webpage corresponds to the 0.13.0 release of Guix, so it doesn't
include the changes.
For any user that has the guix package installed (on a foreign distro,
that's root), you should be able to access the corresponding copy of the
manual with `info guix`.
I've copied the new documentation below:
------
The guix pull command is usually invoked with no arguments, but it supports the following options:
--verbose
Produce verbose output, writing build logs to the standard error output.
--url=url
Download Guix from the Git repository at url.
By default, the source is taken from its canonical Git repository at gnu.org, for the stable branch of Guix.
--commit=commit
Deploy commit, a valid Git commit ID represented as a hexadecimal string.
--branch=branch
Deploy the tip of branch, the name of a Git branch available on the repository at url.
--bootstrap
Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers.
------
So, you can adjust your command like this:
$ guix pull --url=http://gitlab.com/my-acount/my-repo.git
That is, use the URL you'd use for `git clone`.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-18 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-18 8:54 help for guix pull Adrien Marin
2017-08-18 18:36 ` Leo Famulari
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).