summaryrefslogtreecommitdiff
path: root/docs/archive/organized/cookbook/pinning-microsoft-github-inputs-in-nix/pinning-microsoft-github-inputs-in-nix.md
blob: ea0171513e0a29113923d12374ae7ef8b5b39f63 (plain)
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
# Pinning Microsoft GitHub Inputs | Nixtamal

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

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

╹┗┛╹╱ ╹ ╹ ╹╹╹ ╹╹╹┗┛     Home      Install  Manpage  Changelog  Roadmap  Cookbook  Real-world showcase  Community  FAQs  Funding         Pinning Microsoft GitHub Inputs     GitHub is a U.S. -based closed-source, proprietary Git forge & social media platform owned by Microsoft.

There is a gratis tier for repositories ( terms apply ).

When you write an input of this kind, you will substitute the owner & project slugs.   How to pin a Micosoft GitHub repository with Nix + Nixtamal  Let’s show the way using the Movim repository.

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

In most cases, you will want to prefer fetching the archive (Microsoft GitHub supports gzip) over the Git input kind. git ls-remote is preferred by us for being more generic & anecdotally having less issues with throttling.  Latest revision  // manifest.kdl inputs  {  movim  {  archive  {  url  "https://github.com/movim/movim/archive/{{fresh-value}}.tar.gz"   }   }  fresh-cmd  {  $  git  ls-remote  --heads  "https://github.com/movim/movim.git"  |  cut  -f1   }  }  Latest release tag  // manifest.kdl inputs  {  movim  {  archive  {  url  "https://github.com/movim/movim/archive/{{fresh-value}}.tar.gz"   }   }  fresh-cmd  {  $  git  ls-remote  --tags  --sort= v:refname  "https://github.com/movim/movim.git"  |  grep  -E  "'refs/tags/v([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.