mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
syncthingtray: make test work
This commit is contained in:
parent
76fe6d9465
commit
d8548a66be
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ with lib;
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/.config/systemd/user/syncthingtray.service
|
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'"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue