aboutsummaryrefslogtreecommitdiff
path: root/build-aux/convert-xref.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-04-06 11:51:31 +0200
committerLudovic Courtès <ludo@gnu.org>2024-04-06 15:14:58 +0200
commit91e1a457b567935784632b3aa0235a7a3b5d35f9 (patch)
tree44148aeb4465d03764b9fc32f11762e2bd042d7d /build-aux/convert-xref.scm
parent0b941ea0622abe7f9c9f72d9f8a8a5ac845a3920 (diff)
downloadguix-91e1a457b567935784632b3aa0235a7a3b5d35f9.tar.gz
guix-91e1a457b567935784632b3aa0235a7a3b5d35f9.zip
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
Diffstat (limited to 'build-aux/convert-xref.scm')
0 files changed, 0 insertions, 0 deletions