# guix-build-example.yml -rw-r--r-- 1.5 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
# See https://man.sr.ht/builds.sr.ht/manifest.md for reference

# Specify the build image
image: guix

# [Optional] Specify architecture of builder
# Currently only x86_64 is supported
# Support for i686, aarch64, and armhf will soon be added.
# Images are already built for aforementioned architectures.
# Support for Hurd is planned. But nothing is done yet in that
# direction.
arch: x84_64

# Specify additional channels (possibly with substitutes)
# Note: Channels mentioned here will be prepended
# to %default-channels (in order).
repositories:
  - dug_channel: |
    (channel
      (name 'dug)
      (branch "main")
      (url "https://git.sr.ht/~dhruvin/dug")
      (introduction
        (make-channel-introduction
          "3fb7120339f80934dce811f83539aa3a2e4143e5"
          (openpgp-fingerprint
            "E415 5859 F845 3421 1511  C3E8 F34B 15C2 7B4C 5C16"))))
  - some_channel: |
    (channel
      (name 'somechannel)
      (url "https://example.com/guix/channel"))
  - bordeaux_substitute_server: |
    (substitute-urls
      '("https://bordeaux.guix.gnu.org/"))
  - bordeaux_public_key: |
    (public-key
      (ecc
        (curve Ed25519)
        (q #7D602902D3A2DBB83F8A0FB98602A754C5493B0B778C8D1DD4E0F41DE14DE34F#)))

# Install packages to build-user's profile
packages:
  # this one comes from guix
  - cowsay
  # this one comes from somechannel
  - some-package
  # one can explicitly specify outputs as well
  - git:send-email

# Define tasks to run below
tasks:
  - greet: |
    cowsay "Hello, guix!"