Skip to content

Commit abb123f

Browse files
committed
matomo: fix postFixup
matomo started to use sha265 hashes upstream
1 parent c7cfdad commit abb123f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/ma/matomo/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ stdenv.mkDerivation (finalAttrs: {
8181
for f in $filesToFix; do
8282
if [ -f "$f" ]; then
8383
length="$(wc -c "$f" | cut -d' ' -f1)"
84-
hash="$(md5sum "$f" | cut -d' ' -f1)"
84+
hash="$(sha256sum "$f" | cut -d' ' -f1)"
8585
sed -i "s:\\(\"$f\"[^(]*(\\).*:\\1\"$length\", \"$hash\"),:g" config/manifest.inc.php
8686
else
8787
echo "INFO(files-to-fix): $f does not exist in this version"

0 commit comments

Comments
 (0)