You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the current implementation makes --from optional, but we are not quite sure how that works. If it doesn't seem robust, we can make it mandatory instead.
--algo is optional but will error if it can't infer from SRI or guess
This implements NixOS/rfcs#136. This issue is agreed-upon by the https://github.com/orgs/NixOS/teams/nix-team.
Only leave these two commands, collapsing the existing ones into them:
nix hash convertthe current implementation makes
--fromoptional, but we are not quite sure how that works. If it doesn't seem robust, we can make it mandatory instead.--algois optional but will error if it can't infer from SRI or guessnix hash path:algois mandatory, any default would be arbitrarynar(serialise the directory as a NAR and hash that),flat(single file, error on directory),git(directory, according to RFC 133)