Nix: Fix new hash convert format.
This commit is contained in:
parent
1f56b25389
commit
79815059c1
|
@ -57,7 +57,7 @@
|
|||
return 2
|
||||
fi
|
||||
|
||||
local result=$(nix hash convert to-sri --type sha256 $(nix-prefetch-url "''${url}"))
|
||||
local result=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url "''${url}"))
|
||||
printf "%s" ''${result} | copy
|
||||
printf "%s\n" ''${result}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue