mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Doh
This commit is contained in:
parent
9f65e82b59
commit
12f06ae499
1 changed files with 4 additions and 2 deletions
|
@ -401,8 +401,10 @@ let
|
|||
|
||||
# Symlink all units provided listed in systemd.packages.
|
||||
for i in ${toString cfg.packages}; do
|
||||
if [ -n "$(echo $i/etc/systemd/${type}/*)" ]; then
|
||||
ln -s $i/etc/systemd/${type}/* $i/lib/systemd/${type}/* $out/
|
||||
files=$(echo $i/etc/systemd/${type}/* $i/lib/systemd/${type}/*)
|
||||
echo $i: $files
|
||||
if [ -n "$files" ]; then
|
||||
ln -s $files $out/
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue