[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About webkitgtk and gtk
From: |
宋文武 |
Subject: |
Re: About webkitgtk and gtk |
Date: |
Mon, 25 May 2015 21:09:04 +0800 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) |
Feng Shu <address@hidden> writes:
> 宋文武 <address@hidden> writes:
>
>> By default, 'guix build NAME-SPEC' match the package by name field.
>> In this case, to select a package by variable name, we can use:
>>
>> $ guix build -e '(@ (gnu packages webkit) webkitgtk-2.4/gtk+-3'
>>
>> Please see the 'Invoke guix build' section of the Guix manaual for
>> more information.
>
> I put the below code to module "emacs-snapshot",
>
> #+BEGIN_SRC lisp
>
> (define-public webkitgtk-2.4/gtk+-3.0
> ;; webkit1 + gtk3
> (package (inherit webkitgtk-2.4)
> (name "webkitgtk")
> (arguments
> '(#:configure-flags '("--enable-webkit2=no"
> "--with-gtk=3.0")))))
> #+END_SRC
>
> Then run:
>
> guix build -e '(@ (emacs-snapshot) webkitgtk-2.4/gtk+-3)'
>
>
> error:
>
> #+BEGIN_COMMENT
> guix build: error: failed to evaluate expression `(@ (emacs-snapshot)
> webkitgtk-2.4/gtk+-3)': (wrong-type-arg "module-variable" "Wrong type
> argument in position ~A (expecting ~A): ~S" (1 "module" #f) (#f))
>
> #+END_COMMENT
I have no idea about this (CC to the list).
Re: About webkitgtk and gtk, Ludovic Courtès, 2015/05/25