Ignore *.wants in systemd.packages for now

This commit is contained in:
Eelco Dolstra 2014-04-22 15:36:04 +02:00
parent 52769d5c17
commit fa3826dcf4

View File

@ -408,10 +408,11 @@ let
# Symlink all units provided listed in systemd.packages. # Symlink all units provided listed in systemd.packages.
for i in ${toString cfg.packages}; do for i in ${toString cfg.packages}; do
files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*) for fn in $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*; do
if [ -n "$files" ]; then if ! [[ "$fn" =~ .wants$ ]]; then
ln -s $files $out/ ln -s $fn $out/
fi fi
done
done done
# Symlink all units defined by systemd.units. If these are also # Symlink all units defined by systemd.units. If these are also