all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 6248c876cff47f3bd242e0e9ab30f16440225960 1591 bytes (raw)
name: website/manifest.scm 	 # note: path name is non-authoritative(*)

 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
 
(use-modules (guix packages)
             ((gnu packages package-management) #:select (guix))
             ((gnu packages guile-xyz)          #:select (haunt))
             (gnu system locale)
             (ice-9 rdelim)
             (srfi srfi-1))

(define the-good-guile
  (car (assoc-ref (package-native-inputs guix) "guile")))

(define haunt-the-ghost
  (package
    (inherit haunt)
    (name "haunt-for-guix-website")
    (inputs
     `(("guile" ,the-good-guile)
       ,@(alist-delete "guile" (package-inputs haunt))))))

(define locales
  (locale-directory
    (call-with-input-file "po/LINGUAS"
      (lambda (port)
        (let loop ((line (read-line port))
                   (locales '()))
          (if (eof-object? line)
              locales
              (if (equal? (string-ref line 0) #\#)
                  (loop (read-line port) locales)
                  (loop (read-line port)
                        (cons
                          (locale-definition
                            (name (string-append line ".utf8"))
                            (source line))
                          locales)))))))
    #:libcs
    (list glibc)))

(manifest
  (cons
    (manifest-entry
      (name "locales")
      (version "0")
      (item locales))
    (manifest-entries
      (packages->manifest
       (append
        ;; Guile needs to be compatible
        (list
         guix
         the-good-guile
         haunt-the-ghost)
      
        ;; Other packages
        (map specification->package
             (list
              "git"
              "guile-syntax-highlight")))))))

debug log:

solving 6248c87 ...
found 6248c87 in https://yhetil.org/guix/20210406222048.6fc75759@tachikoma.lepiller.eu/
found eda382a in https://yhetil.org/guix/20201018000106.30868-1-zimon.toutoune@gmail.com/

applying [1/2] https://yhetil.org/guix/20201018000106.30868-1-zimon.toutoune@gmail.com/
diff --git a/website/manifest.scm b/website/manifest.scm
new file mode 100644
index 0000000..eda382a


applying [2/2] https://yhetil.org/guix/20210406222048.6fc75759@tachikoma.lepiller.eu/
diff --git a/website/manifest.scm b/website/manifest.scm
index eda382a..6248c87 100644

Checking patch website/manifest.scm...
Applied patch website/manifest.scm cleanly.
1:101: trailing whitespace.
      
Checking patch website/manifest.scm...
Applied patch website/manifest.scm cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 6248c876cff47f3bd242e0e9ab30f16440225960	website/manifest.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.