# -rw-r--r-- 2.3 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 4 packages...
jgart@gac ~/guixrus-website [env] λ cat .build.yml
image: guix
oauth: pages.sr.ht/PAGES:RW
sources:
- https://git.sr.ht/~whereiseveryone/guixrus
- https://git.sr.ht/~whereiseveryone/website
tasks:
- guix: |
    cd website
    GUIX_PACKAGE_PATH=../guixrus guix package -v0 -m manifest.scm
- guixrus-json: |
    cd website
    GUIX_PACKAGE_PATH=../guixrus guile guixrus.scm > guixrus.json
- publish: |
    cd website
    mkdir -p site capsule
    cat guixrus.json | jinja2 index-html.jinja2  > site/index.html
    cat guixrus.json | jinja2 index-gmi.jinja2 > capsule/index.gmi
    cd site && tar -cvz . > ../site.tar.gz && cd -
    cd capsule && tar -cvz . > ../capsule.tar.gz && cd -
    acurl -Fcontent=@site.tar.gz https://pages.sr.ht/publish/whereiseveryone.srht.site
    acurl -Fcontent=@capsule.tar.gz -Fprotocol=GEMINI https://pages.sr.ht/publish/whereiseveryone.srht.site
jgart@gac ~/guixrus-website [env] λ GUIX_PACKAGE_PATH=../guixrus guix package -v0 -m manifest.scm
The following packages will be installed:
   doug              0.0.0-0.64a0e21
   guile             3.0.7
   guile-json        4.5.2
   python-jinja2-cli 0.7.0

jgart@gac ~/guixrus-website [env] λ GUIX_PACKAGE_PATH=../guixrus guile guixrus.scm > guixrus.json
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/jgart/guixrus-website/guixrus.scm
;;; WARNING: compilation of /home/jgart/guixrus-website/guixrus.scm failed:
;;; no code for module (gnu packages)
Backtrace:
           8 (primitive-load "/home/jgart/guixrus-website/guixrus.scm")
In ice-9/eval.scm:
   721:20  7 (primitive-eval (use-modules (gnu packages)))
In ice-9/psyntax.scm:
  1230:36  6 (expand-top-sequence ((use-modules (gnu packages))) _ _ …)
  1222:19  5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   259:10  4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
  3927:20  3 (process-use-modules _)
   222:17  2 (map1 (((gnu packages))))
  3928:31  1 (_ ((gnu packages)))
   3329:6  0 (resolve-interface (gnu packages) #:select _ #:hide _ # …)

ice-9/boot-9.scm:3329:6: In procedure resolve-interface:
no code for module (gnu packages)