summaryrefslogtreecommitdiff
path: root/docs/archive/organized/cookbook/pinning-codeberg-inputs-in-nix/pinning-codeberg-inputs-in-nix.md
blob: 1f79a1fd0c40275e02b19b05980b04db90f1af7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Pinning Codeberg Inputs | Nixtamal

┏┓╻+╻ ╱┏┳┓┏┓┏┳┓┏┓╻

┃┃┃┃┗━┓╹┃╹┣┫┃┃┃┣┫┃

╹┗┛╹╱ ╹ ╹ ╹╹╹ ╹╹╹┗┛     Home      Install  Manpage  Changelog  Roadmap  Cookbook  Real-world showcase  Community  FAQs  Funding         Pinning Codeberg Inputs     Codeberg is a Forgejo ( FOSS ) Git forge instance ran by a German non-profit.

The instance offers gratis accounts ( terms apply ).   How to pin a Codeberg repository with Nix + Nixtamal  Let’s show the way using the Biboumi repository.

When you write this, you will substitute the owner & project slugs.

In most cases, you will want to prefer fetching the archive (Forgejo supports gzip) over the Git input kind. git ls-remote is preferred by us for being more generic.  Latest revision  // manifest.kdl inputs  {  soupault  {  archive  {  url  "https://codeberg.org/poezio/biboumi/archive/{{fresh-value}}.tar.gz"   }   }  fresh-cmd  {  $  git  ls-remote  --branches  main  "https://codeberg.org/poezio/biboumi.git"  |  cut  -f1   }  }  Latest stable release tag  // manifest.kdl inputs  {  soupault  {  archive  {  url  "https://codeberg.org/poezio/biboumi/archive/{{fresh-value}}.tar.gz"   }   }  fresh-cmd  {  $  git  ls-remote  --tags  --sort= v:refname  "https://codeberg.org/poezio/biboumi.git"  |  grep  -E  "'refs/tags/([0-9]+ \\ .)+[0-9]+$'"  |  tail  -n1  |  sed  "'s|.*refs/tags/||'"   }  }       Site made with Nix ( dep management), Nickel ( config ), Soupault ( SSG ), Docutils ( rST rendering), mandoc (manpage conversion), & sugilite256 (color scheme).  © 2025–2026 toastal .

© 2026 Nixtamal contributors.

Some rights reserved.

Except where otherwise noted, the content on this website is licensed under CC-BY-SA-4.0 .

Citations must attribute the work’s writer/maker & include a hyperlink to this website (or rather the work itself).

Yes, these rules/clauses apply to LLM s & AI assistants too.