This commit is contained in:
Eelco Dolstra 2014-04-18 01:36:43 +02:00
parent 9f65e82b59
commit 12f06ae499

View file

@ -401,8 +401,10 @@ 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
if [ -n "$(echo $i/etc/systemd/${type}/*)" ]; then files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*)
ln -s $i/etc/systemd/${type}/* $i/lib/systemd/${type}/* $out/ echo $i: $files
if [ -n "$files" ]; then
ln -s $files $out/
fi fi
done done