Merge pull request #230186 from delroth/xserver-repro

nixos/xserver: fix xserver.conf reproducibility (sort ModulePath entries)
This commit is contained in:
Pierre Bourdon 2023-05-05 23:48:19 +02:00 committed by GitHub
commit 1b8ce206b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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