guix/gnu/services
Ludovic Courtès 91e1a457b5
services: guix: Gracefully handle dangling symlink for ‘machines.scm’.
Previously, if /etc/guix/machines.scm was a dangling symlink, it would
be kept (because ‘file-exists?’ would return #f) and thus the following
‘symlink’ call would throw with EEXIST.

* gnu/services/base.scm (guix-machines-files-installation): Use ‘lstat’
rather than ‘file-exists?’.

Change-Id: I07c7eed842dacabbd19ae2a17ac3e59cf26e46b2
2024-04-06 15:14:58 +02:00
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
base.scm services: guix: Gracefully handle dangling symlink for ‘machines.scm’. 2024-04-06 15:14:58 +02:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm
cups.scm
databases.scm
dbus.scm
desktop.scm
dict.scm
dns.scm
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm
linux.scm
lirc.scm
mail.scm
mcron.scm
messaging.scm
monitoring.scm
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm
sound.scm
spice.scm
ssh.scm
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm
vnc.scm
vpn.scm
web.scm
xorg.scm