unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Luther Thompson <lutheroto@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Trouble with 'guix download'
Date: Mon, 04 Dec 2017 11:36:49 +0100	[thread overview]
Message-ID: <87o9neok3i.fsf@gnu.org> (raw)
In-Reply-To: <1512345521.2220.17.camel@pentos> (Luther Thompson's message of "Sun, 03 Dec 2017 18:58:41 -0500")

Hello,

Luther Thompson <lutheroto@gmail.com> skribis:

> I'd like to install Python 3.6.3 with Guix, but Guix only has a package
> for 3.5.3. I'm trying to see if I can write my own package definition.
> I'm currently stuck trying to use 'guix download'. This is what I get:
>
> $ guix download https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
>
> Starting download of /tmp/guix-file.E66CkS
> From https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz...
> ERROR: Wrong type to apply: #<syntax-transformer uri?>

This looks like a miscompilation issue.

Did you build Guix from source from a Git checkout, or did you install
the binary tarball and run ‘guix pull’?

> I have a broader question: I don't know if Guix is designed to make it
> easy for users to have their own personal package definitions.

It is.  Currently this is done by setting the ‘GUIX_PACKAGE_PATH’
variable to point to your personal package definitions:

  https://www.gnu.org/software/guix/manual/html_node/Package-Modules.html#index-GUIX_005fPACKAGE_005fPATH

> Would it be simpler for me to change the package in the Guix codebase
> and do a pull request than to write my own package?

We encourage you to submit general-purpose package
modifications/additions into Guix proper, of course.  To do that, it’s
probably better to have a Git checkout and make your changes in the Guix
codebase:

  https://www.gnu.org/software/guix/manual/html_node/Contributing.html

HTH!

Ludo’.

  reply	other threads:[~2017-12-04 10:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03 23:58 Trouble with 'guix download' Luther Thompson
2017-12-04 10:36 ` Ludovic Courtès [this message]
     [not found]   ` <1512388454.2110.4.camel@pentos>
2017-12-04 19:15     ` Luther Thompson
2017-12-08 10:33       ` Ludovic Courtès
2017-12-09  4:15         ` Luther Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9neok3i.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=lutheroto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).