Warning
This program is experimental and its interface is subject to change.
Name
nix hash to-sri - convert a hash to SRI representation
Synopsis
nix hash to-sri [option...] strings...
Options
--typehash-algo hash algorithm ('md5', 'sha1', 'sha256', or 'sha512'). Optional as can also be gotten from SRI hash itself.
Logging-related options:
-
--debugSet the logging verbosity level to 'debug'. -
--log-formatformat Set the format of log output; one ofraw,internal-json,bar,bar-with-logs,multilineormultiline-with-logs. -
--print-build-logs/-LPrint full build logs on standard error. -
--quietDecrease the logging verbosity level. -
--verbose/-vIncrease the logging verbosity level.
Miscellaneous global options:
-
--helpShow usage information. -
--offlineDisable substituters and consider all previously downloaded files up-to-date. -
--optionname value Set the Lix configuration setting name to value (overridingnix.conf). -
--refreshConsider all previously downloaded files out-of-date. -
--versionShow version information.
Note
See
man nix.conffor overriding configuration settings with command line flags.