From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Trouble with 'guix download' Date: Mon, 04 Dec 2017 11:36:49 +0100 Message-ID: <87o9neok3i.fsf@gnu.org> References: <1512345521.2220.17.camel@pentos> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLo7M-00086S-Rl for help-guix@gnu.org; Mon, 04 Dec 2017 05:36:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLo7J-0007f2-LK for help-guix@gnu.org; Mon, 04 Dec 2017 05:36:56 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:51752) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eLo7J-0007es-Ee for help-guix@gnu.org; Mon, 04 Dec 2017 05:36:53 -0500 In-Reply-To: <1512345521.2220.17.camel@pentos> (Luther Thompson's message of "Sun, 03 Dec 2017 18:58:41 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Luther Thompson Cc: help-guix Hello, Luther Thompson 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: # 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 =E2=80=98guix pull=E2=80=99? > 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 =E2=80=98GUIX_PACKAGE_PATH=E2= =80=99 variable to point to your personal package definitions: https://www.gnu.org/software/guix/manual/html_node/Package-Modules.html#i= ndex-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=E2=80= =99s 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=E2=80=99.