mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Ignore *.wants in systemd.packages for now
This commit is contained in:
parent
52769d5c17
commit
fa3826dcf4
@ -408,10 +408,11 @@ let
|
||||
|
||||
# Symlink all units provided listed in systemd.packages.
|
||||
for i in ${toString cfg.packages}; do
|
||||
files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*)
|
||||
if [ -n "$files" ]; then
|
||||
ln -s $files $out/
|
||||
fi
|
||||
for fn in $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*; do
|
||||
if ! [[ "$fn" =~ .wants$ ]]; then
|
||||
ln -s $fn $out/
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
# Symlink all units defined by systemd.units. If these are also
|
||||
|
Loading…
Reference in New Issue
Block a user