Use org-babel-tangle to generate a channel declaration
This commit is contained in:
parent
aea9234ee7
commit
939a2e1d23
2 changed files with 17 additions and 1 deletions
|
@ -13,7 +13,7 @@ To set up automatic authentication, run the following:
|
|||
|
||||
If you are adding this channel to your guix channels, use the following definition:
|
||||
|
||||
#+begin_src scheme
|
||||
#+begin_src scheme :tangle etc/generated/guix-punk-channel.scm
|
||||
(channel
|
||||
(name 'guix-punk)
|
||||
(url "https://git.solarpunk.moe/Solarpunk/guix-punk.git")
|
||||
|
@ -25,6 +25,8 @@ If you are adding this channel to your guix channels, use the following definiti
|
|||
"1086 326D E207 068C 1C02 5129 A64F 4134 5C74 00AF"))))
|
||||
#+end_src
|
||||
|
||||
A generated version of the definition can be found at [[file:etc/generated/guix-punk-channel.scm][etc/generated/guix-punk-channel.scm]]
|
||||
|
||||
|
||||
* Committing
|
||||
|
||||
|
@ -102,3 +104,8 @@ If you are the one being talked to about getting added:
|
|||
1) Add the new entity's key to the keyring branch, using the =NAME.key= pattern.
|
||||
2) Add their signing key fingerprint to [[file:.guix-authorizations][.guix-authorizations]].
|
||||
|
||||
** the readme
|
||||
|
||||
Parts of this README use =org-babel-tangle= to automatically generate files as a matter of convienence. If you change any of the source code blocks, it is probably a good idea to run tangle, just in case.
|
||||
|
||||
Tangled files should go into the [[file:etc/generated][generated]] directory.
|
||||
|
|
9
etc/generated/guix-punk-channel.scm
Normal file
9
etc/generated/guix-punk-channel.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
(channel
|
||||
(name 'guix-punk)
|
||||
(url "https://git.solarpunk.moe/Solarpunk/guix-punk.git")
|
||||
(branch "main")
|
||||
(introduction
|
||||
(make-channel-introduction
|
||||
"e5386665c5b75c317a9073cfb990b49706318fcf"
|
||||
(openpgp-fingerprint
|
||||
"1086 326D E207 068C 1C02 5129 A64F 4134 5C74 00AF"))))
|
Loading…
Reference in a new issue