Feng Shu <tuma...@163.com> writes:

> 宋文武 <iyzs...@gmail.com> 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).

Reply via email to