Nixpkgs/Patching Nixpkgs: Difference between revisions
Add Nixtamal as declarative patching is a major feature |
m typos |
||
| Line 156: | Line 156: | ||
=== Using [https://nixtamal.toast.al/ Nixtamal] === | === Using [https://nixtamal.toast.al/ Nixtamal] === | ||
Nixtamal uses both <code> | Nixtamal uses both <code>fetchpatch2</code> & <code>applyPatches</code> under the hood, but lets users declare the remote or local patches in its <code>manifest.kdl</code> to be locked to any input — including Nixpkgs. | ||
<syntaxhighlight lang="kdl"> | <syntaxhighlight lang="kdl"> | ||
| Line 179: | Line 179: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
After patches are added, the user must relock | After patches are added, the user must relock: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
| Line 191: | Line 191: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Then the user can seemlessly access their patched Nixpkgs | Then the user can seemlessly access their patched Nixpkgs: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||