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