guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] website: Add support for Haunt.


From: Alex Vong
Subject: Re: [PATCH] website: Add support for Haunt.
Date: Tue, 10 Nov 2015 20:17:52 +0800

Hi,

Thanks for making this! I think miss this announcement last week.

However, there is a little problem. When I run "haunt build -c guixsd.scm",

I get the following:

address@hidden:~/guix-artwork/website$ haunt build -c guixsd.scm
Backtrace:
In ice-9/boot-9.scm:
1724: 19 [%start-stack load-stack ...]
1729: 18 [#<procedure 1368ea0 ()>]
In unknown file:
   ?: 17 [primitive-load "/home/alexvong1995/.guix-profile/bin/haunt"]
In ice-9/eval.scm:
 481: 16 [lp (#<fluid 23>) (build)]
 411: 15 [eval # #]
 411: 14 [eval # #]
In ice-9/boot-9.scm:
2401: 13 [save-module-excursion #<procedure 18e0d00 at
ice-9/boot-9.scm:4045:3 ()>]
4050: 12 [#<procedure 18e0d00 at ice-9/boot-9.scm:4045:3 ()>]
1724: 11 [%start-stack load-stack ...]
1729: 10 [#<procedure 191bae0 ()>]
In unknown file:
   ?: 9 [primitive-load "/home/alexvong1995/guix-artwork/website/guixsd.scm"]
In ice-9/eval.scm:
 505: 8 [#<procedure 1206640 at ice-9/eval.scm:499:4 (exp)>
(use-modules # # # ...)]
In ice-9/psyntax.scm:
1106: 7 [expand-top-sequence ((use-modules (haunt site) (haunt reader)
...)) () ...]
 989: 6 [scan ((use-modules (haunt site) (haunt reader) ...)) () ...]
 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3597: 4 [process-use-modules (((haunt site)) ((haunt reader)) ((haunt
page)) ...)]
 700: 3 [map #<procedure 12c6ea0 at ice-9/boot-9.scm:3597:25 (mif-args)> #]
3598: 2 [#<procedure 12c6ea0 at ice-9/boot-9.scm:3597:25 (mif-args)> ((www))]
2867: 1 [resolve-interface (www) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (www)) #f]

ERROR: In procedure scm-error:
ERROR: no code for module (www)

Is that because I have some wrong set-up?

This is on the tail of the .bashrc:

export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
export LC_ALL=zh_TW.UTF-8
GUIX_PROFILE="$HOME/.guix-profile" \
            source "$HOME/.guix-profile/etc/profile"

This are my installed packages:

Generation 12   11月 10 2015 19:41:30    (current)
  glibc-locales 2.22    out     
/gnu/store/kiwkawskr79bhvzpm7vcgbj2423jng33-glibc-locales-2.22
  fontconfig    2.11.94 out     
/gnu/store/nvv5jb11x8pzbsx0y9rhwvaz7kd7j8pi-fontconfig-2.11.94
  gs-fonts      8.11    out     
/gnu/store/d0ifp68l2sjnnjx5ajc1fsc6r6wp3afy-gs-fonts-8.11
  font-dejavu   2.34    out     
/gnu/store/ll8n6d8vbkx63c1dg01l2m0r77jfak9b-font-dejavu-2.34
  font-gnu-freefont-ttf 20100919        out     
/gnu/store/8cfhaywjkjs6yv3adzlxcwwx776pxryc-font-gnu-freefont-ttf-20100919
  youtube-dl    2015.11.01      out     
/gnu/store/l3mxjdiawvjb8x24sidihz9zqj3k5n5m-youtube-dl-2015.11.01
  emacs 24.5    out     /gnu/store/3ljzggifgiy9jd4bjqd0dy0fq1s0ddks-emacs-24.5
  geiser        0.8.1   out     
/gnu/store/y9dxdh394q4acmfa7xxwavzmzbqz6k6s-geiser-0.8.1
  paredit       23      out     
/gnu/store/8vrkvkfj0yas370xd1d65hqgz0ra5cy0-paredit-23
  git   2.5.0   out     /gnu/store/cyvr3gk9whniixxhc1jgmjncx9981vb7-git-2.5.0
  magit 2.3.0   out     /gnu/store/ip6c3hs3h26qzjjfspykgc4injhj73mq-magit-2.3.0
  icecat        38.3.0-gnu1     out     
/gnu/store/1rsr5a1gl50a1lvp6cg7102g6mjl68i0-icecat-38.3.0-gnu1
  coreutils     8.24    out     
/gnu/store/q6b4jg9nhsxb6kvn87nzr2w6f2vi1gx3-coreutils-8.24
  glibc 2.22    out     /gnu/store/n96gwg9fwmxmz1bhy219v3vvmsjsk7gz-glibc-2.22
  binutils      2.25.1  out     
/gnu/store/lq595bjrgav37b05bmmafigwargasy8k-binutils-2.25.1
  gcc   5.2.0   out     /gnu/store/0wq6hcbfjh5clyz6pjcqxjkl60rmijjf-gcc-5.2.0
  make  4.1     out     /gnu/store/6l2c46faxwdim1mniw80lnyd827dpg8z-make-4.1
  autoconf      2.69    out     
/gnu/store/w29nf3k2yclf7b33i8iibblj67687my2-autoconf-2.69
  automake      1.15    out     
/gnu/store/n164057v3j5lhihj10apqjkbsm0scl3p-automake-1.15
  autogen       5.18.6  out     
/gnu/store/3gsqxw3gw862k1m1zmf2wb9p9fc30k7k-autogen-5.18.6
  perl  5.16.1  out     /gnu/store/czs63sm4l0s4a56ab38dqvkx19yzylbq-perl-5.16.1
  python        3.4.3   out     
/gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3
  guile 2.0.11  out     /gnu/store/5i87jzm90nw8j692y7z1j2qfx16h6ni3-guile-2.0.11
  haunt 0.1     out     /gnu/store/k0cg8shqs12dh9j3a47b6hkvcrk998zg-haunt-0.1

I also try to install guile-www from tarball, but it doesn't help. I
think this make sense since haunt cannot load module from my
/usr/share/guile/site. Does anyone know how to fix it?

Thanks,
Alex

On 04/11/2015, Mathieu Lirzin <address@hidden> wrote:
> Hello Guix,
>
> Thanks to Alex Vong's impulse, I have implemented a first step in the
> use of Dave Thompson's site generator Haunt (http://haunt.dthompson.us/)
> for the GuixSD website.
>
> I will need more details on the deployment of the website on gnu.org to
> hopefully get rid of the parameter objects tweaking.
>
> --
> Mathieu Lirzin
>
>



reply via email to

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