make-squashfs.nix: Improve invalid path check messages

Now the mtime problems are gone, but EC2 Hydra builders are still having
some problems:

https://hydra.nixos.org/build/66043835
This commit is contained in:
Tuomas Tynkkynen 2017-12-15 19:57:40 +02:00
parent 5af695c688
commit 6ed6d323fe

View file

@ -36,7 +36,7 @@ stdenv.mkDerivation {
hasBadPaths=1
fi
if [ "$mode" != 444 ] && [ "$mode" != 555 ]; then
echo "Store path '$path' has invalid permissions."
echo "Store path '$path' has invalid permissions ($mode)."
hasBadPaths=1
fi
done