Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: MUHOME not respected by mu activation #5534

Open
2 tasks done
jdek opened this issue Jun 13, 2024 · 0 comments · May be fixed by #5535
Open
2 tasks done

bug: MUHOME not respected by mu activation #5534

jdek opened this issue Jun 13, 2024 · 0 comments · May be fixed by #5535
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@jdek
Copy link

jdek commented Jun 13, 2024

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

The database path can be set by the user, this is useful for keeping the Maildir and the Mu Xapian cache together without affecting XDG_CACHE_HOME. It can be set in a couple methods:

The default location for that is ~/.cache/mu/xapian, but you can change this using the --muhome option, and remember to pass that to the other commands as well. Alternatively, you can use an environment variable MUHOME.

Here the db location is set to XDG_CACHE_HOME/mu:
https://github.com/nix-community/home-manager/blob/master/modules/programs/mu.nix#L56

Maintainer CC

@Karljo

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.20240612.cc54fb4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/aa0zsahvyqnvzkicsh29jirm9hwv95pg-source`
@jdek jdek added bug triage Issues or feature request that have not been triaged yet labels Jun 13, 2024
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
The database path can be set by the user, this is useful for keeping
the Maildir and the Mu Xapian cache together without affecting
XDG_CACHE_HOME

Fixes nix-community#5534.

Signed-off-by: J. Dekker <[email protected]>
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
The database path can be set by the user, this is useful for keeping
the Maildir and the Mu Xapian cache together without affecting
XDG_CACHE_HOME

Fixes nix-community#5534.

Signed-off-by: J. Dekker <[email protected]>
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
The database path can be set by the user, this is useful for keeping
the Maildir and the Mu Xapian cache together without affecting
XDG_CACHE_HOME

Fixes nix-community#5534.

Signed-off-by: J. Dekker <[email protected]>
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
The database path can be set by the user, this is useful for keeping
the Maildir and the Mu Xapian cache together without affecting
XDG_CACHE_HOME

Fixes nix-community#5534.

Signed-off-by: J. Dekker <[email protected]>
jdek added a commit to jdek/home-manager that referenced this issue Jun 13, 2024
The database path can be set by the user, this is useful for keeping
the Maildir and the Mu Xapian cache together without affecting
XDG_CACHE_HOME

Fixes nix-community#5534.

Signed-off-by: J. Dekker <[email protected]>
@jdek jdek linked a pull request Jun 13, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants