Jump to content

Nix Hash: Difference between revisions

m
change Nix_command link to display `nix` command
imported>R-k-b
(`nix to-sri` doesn't exist anymore, now it's under `nix hash to-sri`, see https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-hash.html)
imported>Cherryblossom000
m (change Nix_command link to display `nix` command)
Line 43: Line 43:
=== Tools ===
=== Tools ===


The tool of choice for hashing is <code>nix-hash</code>, although it will be deprecated [https://github.com/NixOS/nix/issues/1191#issuecomment-273839319 one day] and replaced by subcommands of the [[Nix_command]]. Below is a comparison between the current <code>nix-hash</code> and the '''experimental''' replacements which already can be used today, but are subject to change.
The tool of choice for hashing is <code>nix-hash</code>, although it will be deprecated [https://github.com/NixOS/nix/issues/1191#issuecomment-273839319 one day] and replaced by subcommands of the [[Nix_command|<code>nix</code> command]]. Below is a comparison between the current <code>nix-hash</code> and the '''experimental''' replacements which already can be used today, but are subject to change.


{|class="wikitable"
{|class="wikitable"