diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 76cd6b0651215f67a4505fcad01efc7ae5c1f9a7..e77f492ca251fc6c03070e4a0c3684495d1444b4 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -161,7 +161,7 @@ spack find --long --no-groups \
 | sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \
 | uniq -D -f1 | grep -v -w epic \
 | tee /tmp/duplicates.txt
-test -s /tmp/duplicates.txt && ( cat /tmp/duplicates.txt | while read hash spec ; do spack spec /${hash} ; done ) && exit 1
+test -s /tmp/duplicates.txt && ( cat /tmp/duplicates.txt | while read hash spec ; do spack spec --long /${hash} ; done ) && exit 1
 ccache --show-stats
 ccache --zero-stats
 EOF