mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
mu: use absolute path to mu in activation block
This commit is contained in:
parent
1ef0da3212
commit
5dd3ce3f1e
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ in {
|
|||
# In theory, mu is the only thing that creates that directory, and it is
|
||||
# only created during the initial index.
|
||||
if [[ ! -d "${dbLocation}" ]]; then
|
||||
$DRY_RUN_CMD mu init ${maildirOption} ${myAddresses} $VERBOSE_ARG;
|
||||
$DRY_RUN_CMD ${pkgs.mu}/bin/mu init ${maildirOption} ${myAddresses} $VERBOSE_ARG;
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
'if [[ ! -d "/home/hm-user/.cache/mu" ]]; then'
|
||||
|
||||
assertFileContains activate \
|
||||
'$DRY_RUN_CMD mu init --maildir=/home/hm-user/Mail --my-address=hm@example.com --my-address=foo@example.com $VERBOSE_ARG;'
|
||||
'$DRY_RUN_CMD @mu@/bin/mu init --maildir=/home/hm-user/Mail --my-address=hm@example.com --my-address=foo@example.com $VERBOSE_ARG;'
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue