Re: Package Definition Place

2014-01-05 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: On Saturday, January 04, 2014 12:47:06 PM Ludovic Courtès wrote: I’d recommend looking at how that tcsetpgrp check is implemented, to see what makes it think it doesn’t work. In particular what does ‘config.log’ report about this test? I didn't find any

Re: Package Definition Place

2014-01-04 Thread Kete
On Saturday, January 04, 2014 08:15:40 AM John Darrington wrote: The example in bash.scm is over complicated. Look at some of the examples in xorg.scm to see how to set configure-flags. That got me a little further. Src/../Src/mkmakemod.sh: line 467: /bin/sh: No such file or directory

Re: Package Definition Place

2014-01-04 Thread Kete
On Saturday, January 04, 2014 12:47:06 PM Ludovic Courtès wrote: I’d recommend looking at how that tcsetpgrp check is implemented, to see what makes it think it doesn’t work. In particular what does ‘config.log’ report about this test? I didn't find any mention. The ‘license’ field should

Re: Package Definition Place

2014-01-04 Thread John Darrington
This is where you have to start doing some detective work and probably some patching! Based on what you pasted, it looks as if CONFIG_SHELL isn't getting passed to the mkmakemod.sh file. Probably the zsh devs have done something wierd. What I do at this stage is to build with the -K flag, then

Re: Package Definition Place

2014-01-03 Thread Kete
On Friday, January 03, 2014 06:50:40 AM John Darrington wrote: This would suggest that you haven't got a guix daemon running. Install guix and set up the daemon as described in Chapter 2 of the GUIX manual. Thanks, here are the results: gnu/packages/zsh.scm:12:2: warning: possibly

Re: Package Definition Place

2014-01-03 Thread Nikita Karetnikov
Thanks, here are the results: gnu/packages/zsh.scm:12:2: warning: possibly unbound variable `mit' The license is like MIT. guix build: error: zsh: unknown package I guess it would be easier to help if you provide the code. pgpy4oI5TndsZ.pgp Description: PGP signature

Re: Package Definition Place

2014-01-03 Thread Ludovic Courtès
Kete k...@ninthfloor.org skribis: On Friday, January 03, 2014 06:50:40 AM John Darrington wrote: This would suggest that you haven't got a guix daemon running. Install guix and set up the daemon as described in Chapter 2 of the GUIX manual. Thanks, here are the results:

Re: Package Definition Place

2014-01-03 Thread John Darrington
On Fri, Jan 03, 2014 at 08:10:56PM -0500, Kete wrote: On Friday, January 03, 2014 04:19:26 PM Ludovic Courtès wrote: It is called ‘x11’ (to avoid ambiguity with other licenses originating from MIT) in the (guix licenses) module. So you would write (define-module

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:50:25 AM Nikita Karetnikov wrote: make[2]: *** No rule to make target `gnu/packages/zsh.scm', needed by `all- am'. Stop. Sorry, I totally misunderstood the context. Are you trying to add Zsh? It seems you added a line to ‘gnu-system.am’ but forgot to

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:58:47 PM Nikita Karetnikov wrote: Hm, I’m a bit puzzled. How did you change ‘gnu-system.am’, then? gnu-system.am was at the top level. I didn't have a packages folder in my gnu dir. Did you clone the repository or download the tarball? If not, could you

Re: Package Definition Place

2014-01-02 Thread Kete
On Thursday, January 02, 2014 06:44:00 AM Nikita Karetnikov wrote: $ git clone git://git.sv.gnu.org/guix.git $ cd guix $ ./bootstrap ./configure --localstatedir=/nix/var make make check (See ‘HACKING’ for more information.) Then you could add a recipe (i.e., the definition of a

Re: Package Definition Place

2014-01-01 Thread John Darrington
On Mon, Dec 30, 2013 at 07:37:26PM -0500, Kete wrote: make ./pre-inst-env guix build pkg-name Thanks, what do you do with the scm (Scheme) package definition file? Does it play a part in that? Do we place it in the current directory? The .scm file usually stays in the

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 01:52:35 PM you wrote: The .scm file usually stays in the directory gnu/packages/ If you mean http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/, then how do I contribute to the project? guix download is a convenience function for package developers.

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 05:09:18 PM John Darrington wrote: When it's ready rpPost a patch to the list. Ludovic will commit it to the repository (if he likes it). This is my problem. How do I know if it works if I can't test it by building the package? Thanks

Re: Package Definition Place

2014-01-01 Thread John Darrington
On Wed, Jan 01, 2014 at 11:32:35AM -0500, Kete wrote: On Wednesday, January 01, 2014 05:09:18 PM John Darrington wrote: When it's ready rpPost a patch to the list. Ludovic will commit it to the repository (if he likes it). This is my problem. How do I know if it works

Re: Package Definition Place

2014-01-01 Thread Kete
On Wednesday, January 01, 2014 08:55:07 PM John Darrington wrote: the pre-inst-env file should exist in your build directory (after you have built guix of course) If I finish this process, maybe somebody could use the instructions. The location of pre-inst-env was one of my earlier

Re: Package Definition Place

2014-01-01 Thread Nikita Karetnikov
Am I supposed to add a module to gnu-system.am? Yes, here’s an example [1]. make[2]: *** No rule to make target `gnu/packages/zsh.scm', needed by `all- am'. Stop. I’ve just tried the following. Could you do the same and report any issues? $ git clone git://git.sv.gnu.org/guix.git $ cd

Package Definition Place

2013-12-29 Thread Kete
Where does a package definition go to build a local package with Guix: /nix/store?

Re: Package Definition Place

2013-12-29 Thread John Darrington
I'm not sure that I understand the question correctly. Package definitions reside in gnu/package/*.scm The packages themselves, once built, get automatically put into /nix/store. J' On Sun, Dec 29, 2013 at 10:55:59PM -0500, Kete wrote: Where does a package definition go to build a local