1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

syncthingtray: make test work

This commit is contained in:
Motiejus Jakštys 2023-10-11 22:52:13 +03:00
parent 76fe6d9465
commit d8548a66be

View File

@ -21,7 +21,10 @@ with lib;
nmt.script = ''
assertFileExists home-files/.config/systemd/user/syncthingtray.service
assertFileContains home-files/.config/systemd/user/syncthingtray.service "ExecStart='@syncthingtray@/bin/syncthingtray' '--wait'"
# See earlier iterations of #4276: the author wasn't able to rewrite the
# nix store path to @syncthingtray@, therefore the test matches only
# a substring.
assertFileContains home-files/.config/systemd/user/syncthingtray.service "/bin/syncthingtray' '--wait'"
'';
};
}