nixos/xserver: fix xserver.conf reproducibility (sort ModulePath entries)

This commit is contained in:
Pierre Bourdon 2023-05-05 22:33:09 +02:00
parent 3b66318c06
commit 2ddbabec4d
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -121,7 +121,7 @@ let
fi
done
for i in $(find ${toString cfg.modules} -type d); do
for i in $(find ${toString cfg.modules} -type d | sort); do
if test $(echo $i/*.so* | wc -w) -ne 0; then
echo " ModulePath \"$i\"" >> $out
fi