guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package Definition Place


From: Ludovic Courtès
Subject: Re: Package Definition Place
Date: Fri, 03 Jan 2014 16:19:26 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Kete <address@hidden> 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:
>
>       gnu/packages/zsh.scm:12:2: warning: possibly unbound variable `mit'
>
> The license is like MIT.

It is called ‘x11’ (to avoid ambiguity with other licenses originating
from MIT) in the (guix licenses) module.  So you would write

   (define-module (gnu packages zsh)
      ...
      #:use-module (guix licenses)
      ...
      )

   (define-public zsh
     (package
       ...
       (license x11)))

If it’s similar to, but different from the X11 license, use:

       (license (x11-style "http://url-of/the/license";))

>       guix build: error: zsh: unknown package

That will be solved by the above.

HTH!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]