Lily Ballard
684f93e783
Also tweak `pathAccessible` to ignore other relevant errors too. It was
documented as ignoring permission errors but it was only ignoring
`EPERM`, which comes from the darwin sandbox, and not ignoring `EACCESS`
which is the real permission error. I figured it also makes sense to
ignore `ELOOP`.
Fixes: #560
Change-Id: Ibb849b68d07386eb80afb52b57f7d12b3a48a202
13 lines
521 B
Markdown
13 lines
521 B
Markdown
---
|
|
synopsis: Ignore broken `/etc/ssl/certs/ca-certificates.crt` symlink
|
|
issues: [fj#560]
|
|
cls: [2144]
|
|
category: Fixes
|
|
credits: lilyball
|
|
---
|
|
|
|
[`ssl-cert-file`](@docroot@/command-ref/conf-file.md#conf-ssl-cert-file) now checks its default
|
|
value for a broken symlink before using it. This fixes a problem on macOS where uninstalling
|
|
nix-darwin may leave behind a broken symlink at `/etc/ssl/certs/ca-certificates.crt` that was
|
|
stopping Lix from using the cert at `/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt`.
|