chore(nix): Replace deprecated command nix-hash
usage with nix hash
This commit is contained in:
parent
fa35a9411b
commit
18a6fb5ade
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ let
|
|||
mkdir -p /tmp/nix-srisum-unzip-files/$dirname
|
||||
unzip -qq -d /tmp/nix-srisum-unzip-files/$dirname /tmp/nix-srisum-unzip-files/$filename
|
||||
|
||||
hash=$(nix-hash --to-sri --type sha256 $(nix-hash --type sha256 /tmp/nix-srisum-unzip-files/$dirname))
|
||||
hash=$(nix hash path /tmp/nix-srisum-unzip-files/$dirname)
|
||||
echo "''$hash - ''$i"
|
||||
done
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue