mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
0d7b515a65
In the case where `/nix` is a link, for example, on macOS Catalina,
`builtins.storeDir` returns `/nix`, not the canonical location.
This causes tests on existing files to result in Home Manager thinking
those files are outside of the store.
This change uses `readlink` on the store path so that the tests work
as intended.
(cherry picked from commit
|
||
---|---|---|
.. | ||
accounts | ||
lib | ||
lib-bash | ||
misc | ||
programs | ||
services | ||
default.nix | ||
files.nix | ||
home-environment.nix | ||
manual.nix | ||
modules.nix | ||
systemd-activate.rb | ||
systemd-activate.sh | ||
systemd.nix | ||
xcursor.nix | ||
xresources.nix | ||
xsession.nix |