blob: 7af9fefa44aa4b77c85b981b878264ab2e5c2737 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Pinning Inputs with Mirrors | Nixtamal
âââ»+â» â±ââ³âââââ³ââââ»
ââââââââ¹ââ¹â£â«ââââ£â«â
â¹âââ¹â± â¹ â¹ â¹â¹â¹ â¹â¹â¹ââ Home Install Manpage Changelog Roadmap Cookbook Real-world showcase Community FAQs Funding Pinning Inputs with Mirrors Mirrors are a very good idea for project to have. Increases project resiliance as all servers go down so ideally something should be online to fallback to Helps accessibility as some regions block users based on sanctions & others might not agree to the terms of service or privacy laws in the jurisdiction of some options If self-hosted, then you/your project owns the codeâââwhich can help with potential censorship At the time of writing, Nix flakes does not & cannot support mirrors in input pinning requiring an input pinner like Nixtamal to automate it. How to pin a repository with mirrors in Nix + Nixtamal Mirrors are not supported on all kinds (fetcher limitations) however these can be supported: File Archive Darcs Pijul Git (only in eval time fetching using builtins.fetchGit ) Letâs show the way using the Soupault repository, but if itâs one of the supported kinds, any will work. Latest revision // manifest.kdl inputs { soupault { archive { url "https://codeberg.org/PataphysicalSociety/soupault/archive/{{fresh-value}}.tar.gz" mirrors "https://github.com/PataphysicalSociety/soupault/archive/{{fresh-value}}.tar.gz" } } fresh-cmd { $ git ls-remote --branches main "https://codeberg.org/PataphysicalSociety/soupault.git" | cut -f1 } } 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.
|