Jump to content

Nix Hash: Difference between revisions

21 bytes added ,  26 February 2023
m
Actually explain what TOFU stands for
imported>Pheoxy
m (Replace .nix file hashs theeasy way)
imported>Frogamic
m (Actually explain what TOFU stands for)
Line 35: Line 35:
When you are updating packages in nixpkgs.
When you are updating packages in nixpkgs.


An easy way to get the Hash is TOFU, where we replace the hash in a .nix file with:
An easy way to get the Hash is TOFU (Trust On First Use), where we replace the hash in a .nix file with:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Anonymous user