---
synopsis: Give `nix store add` a `--hash-algo` flag
prs: 9809
---

Adds a missing feature that was present in the old CLI, and matches our
plans to have similar flags for `nix hash convert` and `nix hash path`.
